#9F4BBC#9F4BBC

#9F4BBC is a mid, vivid purple. Relative luminance 0.160; OKLCH L 56.6% C 0.183 H 316.5°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#9F4BBC
RGBrgb(159, 75, 188)
HSLhsl(285, 46%, 52%)
HSVhsv(285, 60%, 74%)
CMYKcmyk(15.4%, 60.1%, 0%, 26.3%)
CIE-LABlab(47.02, 52.48, -44.92)
CIE-LCHlch(47.02, 69.08, 319.44°)
OKLaboklab(56.57% 0.1325 -0.1257)
OKLCHoklch(56.57% 0.183 316.5)
XYZxyz(25.8899, 16.0349, 49.2985)
Luminance0.1603 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4BBC #68BC4B
analogous
#674BBC #9F4BBC #BC4BA1
triadic
#9F4BBC #BC9F4B #4BBC9F
tetradic
#9F4BBC #BC674B #68BC4B #4BA1BC
square
#9F4BBC #BC674B #68BC4B #4BA1BC
split-complementary
#9F4BBC #A1BC4B #4BBC67
monochromatic
#562666 #7B3793 #9F4BBC #B778CD #CFA4DD

Accessibility & contrast

On white

4.99
#9F4BBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#9F4BBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4BBC
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4BBC#FFFFFF#000000##FFFFFF
##9F4BBC1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6AC0
Deuteranopia (green-blind)
#4D72B9
Tritanopia (blue-blind)
#9E5E7C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9f4bbc;
/* rgb */ color: rgb(159, 75, 188);
/* oklch */ color: oklch(56.6% 0.183 316.5);
Tailwind
colors: {
  custom: {
    50: '#be82d1',
    500: '#9f4bbc',
    950: '#000000',
  },
}
SCSS
$custom: #9f4bbc;
$custom-light: #be82d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4bbc",
  "rgb": {
    "r": 159,
    "g": 75,
    "b": 188
  },
  "hsl": {
    "h": 284.602,
    "s": 45.749,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5657,
    "c": 0.1826,
    "h": 316.5
  },
  "luminance": 0.16034
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F4BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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