#9F4DE5#9F4DE5

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

Color values

HEX#9F4DE5
RGBrgb(159, 77, 229)
HSLhsl(272, 75%, 60%)
HSVhsv(272, 66%, 90%)
CMYKcmyk(30.6%, 66.4%, 0%, 10.2%)
CIE-LABlab(49.90, 60.46, -63.80)
CIE-LCHlch(49.90, 87.89, 313.46°)
OKLaboklab(59.46% 0.1284 -0.181)
OKLCHoklch(59.46% 0.222 305.3)
XYZxyz(31.0917, 18.3360, 76.0148)
Luminance0.1834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4DE5 #93E54D
analogous
#534DE5 #9F4DE5 #E54DDF
triadic
#9F4DE5 #E59F4D #4DE59F
tetradic
#9F4DE5 #E5534D #93E54D #4DDFE5
square
#9F4DE5 #E5534D #93E54D #4DDFE5
split-complementary
#9F4DE5 #DFE54D #4DE553
monochromatic
#6117A0 #821FD6 #9F4DE5 #BC82ED #D9B8F5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F4DE5#FFFFFF#000000##000000
##9F4DE51.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)
#0074EA
Deuteranopia (green-blind)
#1D77E2
Tritanopia (blue-blind)
#926F93
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9f4de5;
/* rgb */ color: rgb(159, 77, 229);
/* oklch */ color: oklch(59.5% 0.222 305.3);
Tailwind
colors: {
  custom: {
    50: '#c084ee',
    500: '#9f4de5',
    950: '#000000',
  },
}
SCSS
$custom: #9f4de5;
$custom-light: #c084ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4de5",
  "rgb": {
    "r": 159,
    "g": 77,
    "b": 229
  },
  "hsl": {
    "h": 272.368,
    "s": 74.51,
    "l": 60
  },
  "oklch": {
    "l": 0.59462,
    "c": 0.22191,
    "h": 305.3
  },
  "luminance": 0.18336
}

Semantic roles & 50–950 ramp

primary
#9F4DE5
secondary
#C5E4AA
accent
#F1378D
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F4DE5

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

Preview Lab → · Contrast checker → · Palette generator →

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