#9F4DE8#9F4DE8

#9F4DE8 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.7% C 0.225 H 304.7°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#9F4DE8
RGBrgb(159, 77, 232)
HSLhsl(272, 77%, 61%)
HSVhsv(272, 67%, 91%)
CMYKcmyk(31.5%, 66.8%, 0%, 9%)
CIE-LABlab(50.10, 61.14, -65.17)
CIE-LCHlch(50.10, 89.36, 313.17°)
OKLaboklab(59.67% 0.1281 -0.185)
OKLCHoklch(59.67% 0.225 304.7)
XYZxyz(31.5142, 18.5050, 78.2399)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4DE8 #96E84D
analogous
#514DE8 #9F4DE8 #E84DE3
triadic
#9F4DE8 #E89F4D #4DE89F
tetradic
#9F4DE8 #E8514D #96E84D #4DE3E8
square
#9F4DE8 #E8514D #96E84D #4DE3E8
split-complementary
#9F4DE8 #E3E84D #4DE851
monochromatic
#6115A5 #811CDB #9F4DE8 #BC83EF #D9B9F6

Accessibility & contrast

On white

4.47
#9F4DE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#9F4DE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F4DE8
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4DE8#FFFFFF#000000##000000
##9F4DE81.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075ED
Deuteranopia (green-blind)
#1577E5
Tritanopia (blue-blind)
#927094
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9f4de8;
/* rgb */ color: rgb(159, 77, 232);
/* oklch */ color: oklch(59.7% 0.225 304.7);
Tailwind
colors: {
  custom: {
    50: '#c084f0',
    500: '#9f4de8',
    950: '#000000',
  },
}
SCSS
$custom: #9f4de8;
$custom-light: #c084f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4de8",
  "rgb": {
    "r": 159,
    "g": 77,
    "b": 232
  },
  "hsl": {
    "h": 271.742,
    "s": 77.114,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59671,
    "c": 0.22501,
    "h": 304.7
  },
  "luminance": 0.18505
}

Semantic roles & 50–950 ramp

primary
#9F4DE8
secondary
#C7E6AB
accent
#D90C6D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9F4DE8

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

Preview Lab → · Contrast checker → · Palette generator →

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