#9F4CBB#9F4CBB

#9F4CBB is a mid, vivid purple. Relative luminance 0.161; OKLCH L 56.6% C 0.180 H 316.8°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#9F4CBB
RGBrgb(159, 76, 187)
HSLhsl(285, 45%, 52%)
HSVhsv(285, 59%, 73%)
CMYKcmyk(15%, 59.4%, 0%, 26.7%)
CIE-LABlab(47.14, 51.79, -44.14)
CIE-LCHlch(47.14, 68.05, 319.56°)
OKLaboklab(56.64% 0.1312 -0.1234)
OKLCHoklch(56.64% 0.18 316.8)
XYZxyz(25.8508, 16.1286, 48.7555)
Luminance0.1613 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4CBB #68BB4C
analogous
#684CBB #9F4CBB #BB4CA0
triadic
#9F4CBB #BB9F4C #4CBB9F
tetradic
#9F4CBB #BB684C #68BB4C #4CA0BB
square
#9F4CBB #BB684C #68BB4C #4CA0BB
split-complementary
#9F4CBB #A0BB4C #4CBB68
monochromatic
#562766 #7B3892 #9F4CBB #B778CC #CFA5DD

Accessibility & contrast

On white

4.97
#9F4CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#9F4CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4CBB
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4CBB#FFFFFF#000000##FFFFFF
##9F4CBB1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6BBE
Deuteranopia (green-blind)
#4E72B8
Tritanopia (blue-blind)
#9E5F7C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9f4cbb;
/* rgb */ color: rgb(159, 76, 187);
/* oklch */ color: oklch(56.6% 0.180 316.8);
Tailwind
colors: {
  custom: {
    50: '#be82d0',
    500: '#9f4cbb',
    950: '#000000',
  },
}
SCSS
$custom: #9f4cbb;
$custom-light: #be82d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4cbb",
  "rgb": {
    "r": 159,
    "g": 76,
    "b": 187
  },
  "hsl": {
    "h": 284.865,
    "s": 44.939,
    "l": 51.569
  },
  "oklch": {
    "l": 0.56641,
    "c": 0.1801,
    "h": 316.8
  },
  "luminance": 0.16128
}

Semantic roles & 50–950 ramp

primary
#9F4CBB
secondary
#A5CA99
accent
#D55374
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9F4CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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