#9F4BD6#9F4BD6

#9F4BD6 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.2% C 0.209 H 309.1°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#9F4BD6
RGBrgb(159, 75, 214)
HSLhsl(276, 63%, 57%)
HSVhsv(276, 65%, 84%)
CMYKcmyk(25.7%, 65%, 0%, 16.1%)
CIE-LABlab(48.58, 58.03, -57.40)
CIE-LCHlch(48.58, 81.63, 315.31°)
OKLaboklab(58.2% 0.1319 -0.1622)
OKLCHoklch(58.2% 0.209 309.1)
XYZxyz(28.9493, 17.2586, 65.4115)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4BD6 #82D64B
analogous
#5A4BD6 #9F4BD6 #D64BC8
triadic
#9F4BD6 #D69F4B #4BD69F
tetradic
#9F4BD6 #D65A4B #82D64B #4BC8D6
square
#9F4BD6 #D65A4B #82D64B #4BC8D6
split-complementary
#9F4BD6 #C8D64B #4BD65A
monochromatic
#5E1F88 #812ABA #9F4BD6 #BA7DE1 #D4AFED

Accessibility & contrast

On white

4.72
#9F4BD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#9F4BD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4BD6
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4BD6#FFFFFF#000000##FFFFFF
##9F4BD61.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DA
Deuteranopia (green-blind)
#3475D3
Tritanopia (blue-blind)
#97688A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9f4bd6;
/* rgb */ color: rgb(159, 75, 214);
/* oklch */ color: oklch(58.2% 0.209 309.1);
Tailwind
colors: {
  custom: {
    50: '#bf83e3',
    500: '#9f4bd6',
    950: '#000000',
  },
}
SCSS
$custom: #9f4bd6;
$custom-light: #bf83e3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4bd6",
  "rgb": {
    "r": 159,
    "g": 75,
    "b": 214
  },
  "hsl": {
    "h": 276.259,
    "s": 62.896,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58204,
    "c": 0.20906,
    "h": 309.1
  },
  "luminance": 0.17258
}

Semantic roles & 50–950 ramp

primary
#9F4BD6
secondary
#B8DBA2
accent
#E64283
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F4BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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