#9F50E1#9F50E1

#9F50E1 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.6% C 0.214 H 305.9°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9F50E1
RGBrgb(159, 80, 225)
HSLhsl(273, 71%, 60%)
HSVhsv(273, 64%, 88%)
CMYKcmyk(29.3%, 64.4%, 0%, 11.8%)
CIE-LABlab(50.15, 58.13, -61.14)
CIE-LCHlch(50.15, 84.36, 313.56°)
OKLaboklab(59.56% 0.1255 -0.1732)
OKLCHoklch(59.56% 0.214 305.9)
XYZxyz(30.7544, 18.5448, 73.1789)
Luminance0.1854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F50E1 #92E150
analogous
#5750E1 #9F50E1 #E150DA
triadic
#9F50E1 #E19F50 #50E19F
tetradic
#9F50E1 #E15750 #92E150 #50DAE1
square
#9F50E1 #E15750 #92E150 #50DAE1
split-complementary
#9F50E1 #DAE150 #50E157
monochromatic
#611B9C #8224D0 #9F50E1 #BC84EA #D8B8F3

Accessibility & contrast

On white

4.46
#9F50E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#9F50E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F50E1
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F50E1#FFFFFF#000000##000000
##9F50E11.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E5
Deuteranopia (green-blind)
#2C78DE
Tritanopia (blue-blind)
#946F92
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9f50e1;
/* rgb */ color: rgb(159, 80, 225);
/* oklch */ color: oklch(59.6% 0.214 305.9);
Tailwind
colors: {
  custom: {
    50: '#c086eb',
    500: '#9f50e1',
    950: '#000000',
  },
}
SCSS
$custom: #9f50e1;
$custom-light: #c086eb;
$custom-dark: #000000;
JSON
{
  "hex": "#9f50e1",
  "rgb": {
    "r": 159,
    "g": 80,
    "b": 225
  },
  "hsl": {
    "h": 272.69,
    "s": 70.732,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59557,
    "c": 0.21387,
    "h": 305.9
  },
  "luminance": 0.18544
}

Semantic roles & 50–950 ramp

primary
#9F50E1
secondary
#C4E2AA
accent
#ED3A8C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F50E1

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

Preview Lab → · Contrast checker → · Palette generator →

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