#9F50DC#9F50DC

#9F50DC is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.2% C 0.209 H 307.1°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#9F50DC
RGBrgb(159, 80, 220)
HSLhsl(274, 67%, 59%)
HSVhsv(274, 64%, 86%)
CMYKcmyk(27.7%, 63.6%, 0%, 13.7%)
CIE-LABlab(49.83, 57.00, -58.82)
CIE-LCHlch(49.83, 81.90, 314.10°)
OKLaboklab(59.22% 0.1258 -0.1664)
OKLCHoklch(59.22% 0.209 307.1)
XYZxyz(30.0823, 18.2759, 69.6391)
Luminance0.1828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F50DC #8DDC50
analogous
#5950DC #9F50DC #DC50D3
triadic
#9F50DC #DC9F50 #50DC9F
tetradic
#9F50DC #DC5950 #8DDC50 #50D3DC
square
#9F50DC #DC5950 #8DDC50 #50D3DC
split-complementary
#9F50DC #D3DC50 #50DC59
monochromatic
#601E94 #8228C7 #9F50DC #BB83E6 #D7B6F0

Accessibility & contrast

On white

4.51
#9F50DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#9F50DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F50DC
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F50DC#FFFFFF#000000##000000
##9F50DC1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E0
Deuteranopia (green-blind)
#3377D9
Tritanopia (blue-blind)
#956D8F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9f50dc;
/* rgb */ color: rgb(159, 80, 220);
/* oklch */ color: oklch(59.2% 0.209 307.1);
Tailwind
colors: {
  custom: {
    50: '#c086e8',
    500: '#9f50dc',
    950: '#000000',
  },
}
SCSS
$custom: #9f50dc;
$custom-light: #c086e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f50dc",
  "rgb": {
    "r": 159,
    "g": 80,
    "b": 220
  },
  "hsl": {
    "h": 273.857,
    "s": 66.667,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59223,
    "c": 0.2086,
    "h": 307.1
  },
  "luminance": 0.18276
}

Semantic roles & 50–950 ramp

primary
#9F50DC
secondary
#C0DFA8
accent
#EA3E89
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F50DC

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

Preview Lab → · Contrast checker → · Palette generator →

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