#9C50DB#9C50DB

#9C50DB is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.8% C 0.207 H 306.2°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#9C50DB
RGBrgb(156, 80, 219)
HSLhsl(273, 66%, 59%)
HSVhsv(273, 63%, 86%)
CMYKcmyk(28.8%, 63.5%, 0%, 14.1%)
CIE-LABlab(49.40, 56.11, -58.96)
CIE-LCHlch(49.40, 81.39, 313.58°)
OKLaboklab(58.81% 0.122 -0.1669)
OKLCHoklch(58.81% 0.207 306.2)
XYZxyz(29.3624, 17.9200, 68.9162)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C50DB #8FDB50
analogous
#5650DB #9C50DB #DB50D4
triadic
#9C50DB #DB9C50 #50DB9C
tetradic
#9C50DB #DB5650 #8FDB50 #50D4DB
square
#9C50DB #DB5650 #8FDB50 #50D4DB
split-complementary
#9C50DB #D4DB50 #50DB56
monochromatic
#5E1E92 #7E29C5 #9C50DB #B983E5 #D5B6F0

Accessibility & contrast

On white

4.58
#9C50DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#9C50DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C50DB
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C50DB#FFFFFF#000000##000000
##9C50DB1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073DF
Deuteranopia (green-blind)
#3076D8
Tritanopia (blue-blind)
#916D8E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9c50db;
/* rgb */ color: rgb(156, 80, 219);
/* oklch */ color: oklch(58.8% 0.207 306.2);
Tailwind
colors: {
  custom: {
    50: '#bd85e7',
    500: '#9c50db',
    950: '#000000',
  },
}
SCSS
$custom: #9c50db;
$custom-light: #bd85e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c50db",
  "rgb": {
    "r": 156,
    "g": 80,
    "b": 219
  },
  "hsl": {
    "h": 272.806,
    "s": 65.877,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58813,
    "c": 0.20675,
    "h": 306.2
  },
  "luminance": 0.1792
}

Semantic roles & 50–950 ramp

primary
#9C50DB
secondary
#C1DFA8
accent
#E93F8C
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9C50DB

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#9C50DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva