#9F4BB2#9F4BB2

#9F4BB2 is a mid, vivid purple. Relative luminance 0.156; OKLCH L 56.0% C 0.173 H 319.9°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#9F4BB2
RGBrgb(159, 75, 178)
HSLhsl(289, 41%, 50%)
HSVhsv(289, 58%, 70%)
CMYKcmyk(10.7%, 57.9%, 0%, 30.2%)
CIE-LABlab(46.47, 50.45, -39.95)
CIE-LCHlch(46.47, 64.35, 321.62°)
OKLaboklab(55.99% 0.1321 -0.1112)
OKLCHoklch(55.99% 0.173 319.9)
XYZxyz(24.8490, 15.6185, 43.8166)
Luminance0.1562 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4BB2 #5EB24B
analogous
#6C4BB2 #9F4BB2 #B24B92
triadic
#9F4BB2 #B29F4B #4BB29F
tetradic
#9F4BB2 #B26C4B #5EB24B #4B92B2
square
#9F4BB2 #B26C4B #5EB24B #4B92B2
split-complementary
#9F4BB2 #92B24B #4BB26C
monochromatic
#52275C #793987 #9F4BB2 #B675C5 #CDA0D7

Accessibility & contrast

On white

5.09
#9F4BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#9F4BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4BB2
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4BB2#FFFFFF#000000##FFFFFF
##9F4BB21.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3568B5
Deuteranopia (green-blind)
#5371AF
Tritanopia (blue-blind)
#A05B77
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9f4bb2;
/* rgb */ color: rgb(159, 75, 178);
/* oklch */ color: oklch(56.0% 0.173 319.9);
Tailwind
colors: {
  custom: {
    50: '#be82c9',
    500: '#9f4bb2',
    950: '#000000',
  },
}
SCSS
$custom: #9f4bb2;
$custom-light: #be82c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4bb2",
  "rgb": {
    "r": 159,
    "g": 75,
    "b": 178
  },
  "hsl": {
    "h": 288.932,
    "s": 40.711,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55991,
    "c": 0.17262,
    "h": 319.9
  },
  "luminance": 0.15617
}

Semantic roles & 50–950 ramp

primary
#9F4BB2
secondary
#9EC495
accent
#D1576E
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #9F4BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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