#9F4FE8#9F4FE8

#9F4FE8 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.9% C 0.223 H 304.5°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#9F4FE8
RGBrgb(159, 79, 232)
HSLhsl(271, 77%, 61%)
HSVhsv(271, 66%, 91%)
CMYKcmyk(31.5%, 65.9%, 0%, 9%)
CIE-LABlab(50.44, 60.21, -64.62)
CIE-LCHlch(50.44, 88.32, 312.97°)
OKLaboklab(59.91% 0.1259 -0.1834)
OKLCHoklch(59.91% 0.223 304.5)
XYZxyz(31.6563, 18.7892, 78.2872)
Luminance0.1879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4FE8 #98E84F
analogous
#524FE8 #9F4FE8 #E84FE4
triadic
#9F4FE8 #E89F4F #4FE89F
tetradic
#9F4FE8 #E8524F #98E84F #4FE4E8
square
#9F4FE8 #E8524F #98E84F #4FE4E8
split-complementary
#9F4FE8 #E4E84F #4FE852
monochromatic
#6216A7 #811DDD #9F4FE8 #BD85EF #DABBF6

Accessibility & contrast

On white

4.41
#9F4FE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#9F4FE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F4FE8
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4FE8#FFFFFF#000000##000000
##9F4FE81.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076ED
Deuteranopia (green-blind)
#1B78E5
Tritanopia (blue-blind)
#917195
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9f4fe8;
/* rgb */ color: rgb(159, 79, 232);
/* oklch */ color: oklch(59.9% 0.223 304.5);
Tailwind
colors: {
  custom: {
    50: '#c085f0',
    500: '#9f4fe8',
    950: '#000000',
  },
}
SCSS
$custom: #9f4fe8;
$custom-light: #c085f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4fe8",
  "rgb": {
    "r": 159,
    "g": 79,
    "b": 232
  },
  "hsl": {
    "h": 271.373,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59912,
    "c": 0.2225,
    "h": 304.5
  },
  "luminance": 0.18789
}

Semantic roles & 50–950 ramp

primary
#9F4FE8
secondary
#C8E6AD
accent
#D90C6E
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9F4FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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