#9F4DD9#9F4DD9

#9F4DD9 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.6% C 0.209 H 308.2°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#9F4DD9
RGBrgb(159, 77, 217)
HSLhsl(275, 65%, 58%)
HSVhsv(275, 65%, 85%)
CMYKcmyk(26.7%, 64.5%, 0%, 14.9%)
CIE-LABlab(49.12, 57.76, -58.26)
CIE-LCHlch(49.12, 82.04, 314.75°)
OKLaboklab(58.65% 0.1294 -0.1647)
OKLCHoklch(58.65% 0.209 308.2)
XYZxyz(29.4738, 17.6889, 67.4938)
Luminance0.1769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4DD9 #87D94D
analogous
#594DD9 #9F4DD9 #D94DCD
triadic
#9F4DD9 #D99F4D #4DD99F
tetradic
#9F4DD9 #D9594D #87D94D #4DCDD9
square
#9F4DD9 #D9594D #87D94D #4DCDD9
split-complementary
#9F4DD9 #CDD94D #4DD959
monochromatic
#5F1E8D #8129C0 #9F4DD9 #BA7FE4 #D5B2EF

Accessibility & contrast

On white

4.63
#9F4DD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#9F4DD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4DD9
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4DD9#FFFFFF#000000##FFFFFF
##9F4DD91.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DD
Deuteranopia (green-blind)
#3376D6
Tritanopia (blue-blind)
#966A8C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9f4dd9;
/* rgb */ color: rgb(159, 77, 217);
/* oklch */ color: oklch(58.6% 0.209 308.2);
Tailwind
colors: {
  custom: {
    50: '#bf84e5',
    500: '#9f4dd9',
    950: '#000000',
  },
}
SCSS
$custom: #9f4dd9;
$custom-light: #bf84e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4dd9",
  "rgb": {
    "r": 159,
    "g": 77,
    "b": 217
  },
  "hsl": {
    "h": 275.143,
    "s": 64.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.58649,
    "c": 0.20949,
    "h": 308.2
  },
  "luminance": 0.17688
}

Semantic roles & 50–950 ramp

primary
#9F4DD9
secondary
#BCDDA5
accent
#E84086
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F4DD9

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

Preview Lab → · Contrast checker → · Palette generator →

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