#9F50DD#9F50DD

#9F50DD is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.3% C 0.210 H 306.9°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9F50DD
RGBrgb(159, 80, 221)
HSLhsl(274, 67%, 59%)
HSVhsv(274, 64%, 87%)
CMYKcmyk(28.1%, 63.8%, 0%, 13.3%)
CIE-LABlab(49.89, 57.22, -59.28)
CIE-LCHlch(49.89, 82.40, 313.99°)
OKLaboklab(59.29% 0.1258 -0.1677)
OKLCHoklch(59.29% 0.21 306.9)
XYZxyz(30.2151, 18.3290, 70.3387)
Luminance0.1833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F50DD #8EDD50
analogous
#5950DD #9F50DD #DD50D5
triadic
#9F50DD #DD9F50 #50DD9F
tetradic
#9F50DD #DD5950 #8EDD50 #50D5DD
square
#9F50DD #DD5950 #8EDD50 #50D5DD
split-complementary
#9F50DD #D5DD50 #50DD59
monochromatic
#611D96 #8227C9 #9F50DD #BB83E7 #D7B6F1

Accessibility & contrast

On white

4.50
#9F50DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#9F50DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F50DD
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F50DD#FFFFFF#000000##000000
##9F50DD1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E1
Deuteranopia (green-blind)
#3277DA
Tritanopia (blue-blind)
#956D90
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9f50dd;
/* rgb */ color: rgb(159, 80, 221);
/* oklch */ color: oklch(59.3% 0.210 306.9);
Tailwind
colors: {
  custom: {
    50: '#c086e8',
    500: '#9f50dd',
    950: '#000000',
  },
}
SCSS
$custom: #9f50dd;
$custom-light: #c086e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f50dd",
  "rgb": {
    "r": 159,
    "g": 80,
    "b": 221
  },
  "hsl": {
    "h": 273.617,
    "s": 67.464,
    "l": 59.02
  },
  "oklch": {
    "l": 0.5929,
    "c": 0.20966,
    "h": 306.9
  },
  "luminance": 0.18329
}

Semantic roles & 50–950 ramp

primary
#9F50DD
secondary
#C1E0A9
accent
#EA3D89
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F50DD

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

Preview Lab → · Contrast checker → · Palette generator →

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