#9F50DE#9F50DE

#9F50DE is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.4% C 0.211 H 306.6°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9F50DE
RGBrgb(159, 80, 222)
HSLhsl(273, 68%, 59%)
HSVhsv(273, 64%, 87%)
CMYKcmyk(28.4%, 64%, 0%, 12.9%)
CIE-LABlab(49.96, 57.45, -59.75)
CIE-LCHlch(49.96, 82.89, 313.88°)
OKLaboklab(59.36% 0.1257 -0.1691)
OKLCHoklch(59.36% 0.211 306.6)
XYZxyz(30.3488, 18.3825, 71.0425)
Luminance0.1838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F50DE #8FDE50
analogous
#5850DE #9F50DE #DE50D6
triadic
#9F50DE #DE9F50 #50DE9F
tetradic
#9F50DE #DE5850 #8FDE50 #50D6DE
square
#9F50DE #DE5850 #8FDE50 #50D6DE
split-complementary
#9F50DE #D6DE50 #50DE58
monochromatic
#611C97 #8226CB #9F50DE #BB83E8 #D7B7F1

Accessibility & contrast

On white

4.49
#9F50DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#9F50DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F50DE
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F50DE#FFFFFF#000000##000000
##9F50DE1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E2
Deuteranopia (green-blind)
#3077DB
Tritanopia (blue-blind)
#956E90
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9f50de;
/* rgb */ color: rgb(159, 80, 222);
/* oklch */ color: oklch(59.4% 0.211 306.6);
Tailwind
colors: {
  custom: {
    50: '#c086e9',
    500: '#9f50de',
    950: '#000000',
  },
}
SCSS
$custom: #9f50de;
$custom-light: #c086e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f50de",
  "rgb": {
    "r": 159,
    "g": 80,
    "b": 222
  },
  "hsl": {
    "h": 273.38,
    "s": 68.269,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59356,
    "c": 0.21071,
    "h": 306.6
  },
  "luminance": 0.18382
}

Semantic roles & 50–950 ramp

primary
#9F50DE
secondary
#C2E1A9
accent
#EB3D8A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F50DE

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

Preview Lab → · Contrast checker → · Palette generator →

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