#9F4BD8#9F4BD8

#9F4BD8 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.3% C 0.211 H 308.6°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#9F4BD8
RGBrgb(159, 75, 216)
HSLhsl(276, 64%, 57%)
HSVhsv(276, 65%, 85%)
CMYKcmyk(26.4%, 65.3%, 0%, 15.3%)
CIE-LABlab(48.71, 58.47, -58.34)
CIE-LCHlch(48.71, 82.60, 315.06°)
OKLaboklab(58.34% 0.1317 -0.165)
OKLCHoklch(58.34% 0.211 308.6)
XYZxyz(29.2063, 17.3614, 66.7649)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4BD8 #84D84B
analogous
#594BD8 #9F4BD8 #D84BCA
triadic
#9F4BD8 #D89F4B #4BD89F
tetradic
#9F4BD8 #D8594B #84D84B #4BCAD8
square
#9F4BD8 #D8594B #84D84B #4BCAD8
split-complementary
#9F4BD8 #CAD84B #4BD859
monochromatic
#5F1E8B #8129BD #9F4BD8 #BA7DE3 #D5B0EE

Accessibility & contrast

On white

4.70
#9F4BD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#9F4BD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4BD8
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4BD8#FFFFFF#000000##FFFFFF
##9F4BD81.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DC
Deuteranopia (green-blind)
#3275D5
Tritanopia (blue-blind)
#96688B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9f4bd8;
/* rgb */ color: rgb(159, 75, 216);
/* oklch */ color: oklch(58.3% 0.211 308.6);
Tailwind
colors: {
  custom: {
    50: '#c083e5',
    500: '#9f4bd8',
    950: '#000000',
  },
}
SCSS
$custom: #9f4bd8;
$custom-light: #c083e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4bd8",
  "rgb": {
    "r": 159,
    "g": 75,
    "b": 216
  },
  "hsl": {
    "h": 275.745,
    "s": 64.384,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58337,
    "c": 0.2111,
    "h": 308.6
  },
  "luminance": 0.17361
}

Semantic roles & 50–950 ramp

primary
#9F4BD8
secondary
#BADCA3
accent
#E74084
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F4BD8

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

Preview Lab → · Contrast checker → · Palette generator →

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