#9A50DC#9A50DC

#9A50DC is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.7% C 0.207 H 305.2°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#9A50DC
RGBrgb(154, 80, 220)
HSLhsl(272, 67%, 59%)
HSVhsv(272, 64%, 86%)
CMYKcmyk(30%, 63.6%, 0%, 13.7%)
CIE-LABlab(49.22, 55.91, -59.83)
CIE-LCHlch(49.22, 81.88, 313.06°)
OKLaboklab(58.65% 0.1194 -0.1695)
OKLCHoklch(58.65% 0.207 305.2)
XYZxyz(29.1105, 17.7748, 69.5936)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A50DC #92DC50
analogous
#5450DC #9A50DC #DC50D8
triadic
#9A50DC #DC9A50 #50DC9A
tetradic
#9A50DC #DC5450 #92DC50 #50D8DC
square
#9A50DC #DC5450 #92DC50 #50D8DC
split-complementary
#9A50DC #D8DC50 #50DC54
monochromatic
#5C1E94 #7C28C7 #9A50DC #B783E6 #D5B6F0

Accessibility & contrast

On white

4.61
#9A50DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#9A50DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9A50DC
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A50DC#FFFFFF#000000##FFFFFF
##9A50DC1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E0
Deuteranopia (green-blind)
#2B75D9
Tritanopia (blue-blind)
#8E6E8F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9a50dc;
/* rgb */ color: rgb(154, 80, 220);
/* oklch */ color: oklch(58.7% 0.207 305.2);
Tailwind
colors: {
  custom: {
    50: '#bc85e8',
    500: '#9a50dc',
    950: '#000000',
  },
}
SCSS
$custom: #9a50dc;
$custom-light: #bc85e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9a50dc",
  "rgb": {
    "r": 154,
    "g": 80,
    "b": 220
  },
  "hsl": {
    "h": 271.714,
    "s": 66.667,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58653,
    "c": 0.20732,
    "h": 305.2
  },
  "luminance": 0.17775
}

Semantic roles & 50–950 ramp

primary
#9A50DC
secondary
#C2DFA8
accent
#EA3E8F
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9A50DC

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

Preview Lab → · Contrast checker → · Palette generator →

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