#9F4CD9#9F4CD9

#9F4CD9 is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.5% C 0.211 H 308.3°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#9F4CD9
RGBrgb(159, 76, 217)
HSLhsl(275, 65%, 57%)
HSVhsv(275, 65%, 85%)
CMYKcmyk(26.7%, 65%, 0%, 14.9%)
CIE-LABlab(48.95, 58.23, -58.53)
CIE-LCHlch(48.95, 82.56, 314.85°)
OKLaboklab(58.53% 0.1305 -0.1655)
OKLCHoklch(58.53% 0.211 308.3)
XYZxyz(29.4043, 17.5500, 67.4707)
Luminance0.1755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4CD9 #86D94C
analogous
#584CD9 #9F4CD9 #D94CCD
triadic
#9F4CD9 #D99F4C #4CD99F
tetradic
#9F4CD9 #D9584C #86D94C #4CCDD9
square
#9F4CD9 #D9584C #86D94C #4CCDD9
split-complementary
#9F4CD9 #CDD94C #4CD958
monochromatic
#5F1E8D #8129BF #9F4CD9 #BA7EE4 #D5B1EE

Accessibility & contrast

On white

4.66
#9F4CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#9F4CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4CD9
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4CD9#FFFFFF#000000##FFFFFF
##9F4CD91.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DD
Deuteranopia (green-blind)
#3275D6
Tritanopia (blue-blind)
#96698C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9f4cd9;
/* rgb */ color: rgb(159, 76, 217);
/* oklch */ color: oklch(58.5% 0.211 308.3);
Tailwind
colors: {
  custom: {
    50: '#c083e5',
    500: '#9f4cd9',
    950: '#000000',
  },
}
SCSS
$custom: #9f4cd9;
$custom-light: #c083e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4cd9",
  "rgb": {
    "r": 159,
    "g": 76,
    "b": 217
  },
  "hsl": {
    "h": 275.319,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58526,
    "c": 0.21081,
    "h": 308.3
  },
  "luminance": 0.1755
}

Semantic roles & 50–950 ramp

primary
#9F4CD9
secondary
#BBDDA4
accent
#E84085
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F4CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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