#9F4DE7#9F4DE7

#9F4DE7 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.6% C 0.224 H 304.9°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#9F4DE7
RGBrgb(159, 77, 231)
HSLhsl(272, 76%, 60%)
HSVhsv(272, 67%, 91%)
CMYKcmyk(31.2%, 66.7%, 0%, 9.4%)
CIE-LABlab(50.04, 60.91, -64.71)
CIE-LCHlch(50.04, 88.87, 313.27°)
OKLaboklab(59.6% 0.1282 -0.1837)
OKLCHoklch(59.6% 0.224 304.9)
XYZxyz(31.3725, 18.4484, 77.4939)
Luminance0.1845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4DE7 #95E74D
analogous
#524DE7 #9F4DE7 #E74DE2
triadic
#9F4DE7 #E79F4D #4DE79F
tetradic
#9F4DE7 #E7524D #95E74D #4DE2E7
square
#9F4DE7 #E7524D #95E74D #4DE2E7
split-complementary
#9F4DE7 #E2E74D #4DE752
monochromatic
#6116A4 #821DD9 #9F4DE7 #BC83EE #D9B9F6

Accessibility & contrast

On white

4.48
#9F4DE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#9F4DE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F4DE7
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4DE7#FFFFFF#000000##000000
##9F4DE71.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075EC
Deuteranopia (green-blind)
#1877E4
Tritanopia (blue-blind)
#926F94
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9f4de7;
/* rgb */ color: rgb(159, 77, 231);
/* oklch */ color: oklch(59.6% 0.224 304.9);
Tailwind
colors: {
  custom: {
    50: '#c084ef',
    500: '#9f4de7',
    950: '#000000',
  },
}
SCSS
$custom: #9f4de7;
$custom-light: #c084ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4de7",
  "rgb": {
    "r": 159,
    "g": 77,
    "b": 231
  },
  "hsl": {
    "h": 271.948,
    "s": 76.238,
    "l": 60.392
  },
  "oklch": {
    "l": 0.59601,
    "c": 0.22398,
    "h": 304.9
  },
  "luminance": 0.18448
}

Semantic roles & 50–950 ramp

primary
#9F4DE7
secondary
#C6E5AA
accent
#D80D6C
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9F4DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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