#9F20BC#9F20BC

#9F20BC is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.5% C 0.232 H 318.9°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#9F20BC
RGBrgb(159, 32, 188)
HSLhsl(289, 71%, 43%)
HSVhsv(289, 83%, 74%)
CMYKcmyk(15.4%, 83%, 0%, 26.3%)
CIE-LABlab(41.27, 68.68, -54.13)
CIE-LCHlch(41.27, 87.45, 321.76°)
OKLaboklab(52.46% 0.1747 -0.1523)
OKLCHoklch(52.46% 0.232 318.9)
XYZxyz(23.8905, 12.0360, 48.6320)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F20BC #3DBC20
analogous
#5120BC #9F20BC #BC208B
triadic
#9F20BC #BC9F20 #20BC9F
tetradic
#9F20BC #BC5120 #3DBC20 #208BBC
square
#9F20BC #BC5120 #3DBC20 #208BBC
split-complementary
#9F20BC #8BBC20 #20BC51
monochromatic
#470E53 #731788 #9F20BC #C03BDE #D170E7

Accessibility & contrast

On white

6.16
#9F20BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#9F20BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F20BC
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F20BC#FFFFFF#000000##FFFFFF
##9F20BC1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C0
Deuteranopia (green-blind)
#2C65B9
Tritanopia (blue-blind)
#9E4671
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9f20bc;
/* rgb */ color: rgb(159, 32, 188);
/* oklch */ color: oklch(52.5% 0.232 318.9);
Tailwind
colors: {
  custom: {
    50: '#c06ed1',
    500: '#9f20bc',
    950: '#000000',
  },
}
SCSS
$custom: #9f20bc;
$custom-light: #c06ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f20bc",
  "rgb": {
    "r": 159,
    "g": 32,
    "b": 188
  },
  "hsl": {
    "h": 288.846,
    "s": 70.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52461,
    "c": 0.23179,
    "h": 318.9
  },
  "luminance": 0.12035
}

Semantic roles & 50–950 ramp

primary
#9F20BC
secondary
#7DCD6B
accent
#EE3A5C
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130814
muted
#827B82

Preview Lab

Preview with #9F20BC

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

Preview Lab → · Contrast checker → · Palette generator →

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