#9F2CC4#9F2CC4

#9F2CC4 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.8% C 0.228 H 316.2°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#9F2CC4
RGBrgb(159, 44, 196)
HSLhsl(285, 63%, 47%)
HSVhsv(285, 78%, 77%)
CMYKcmyk(18.9%, 77.6%, 0%, 23.1%)
CIE-LABlab(43.00, 66.73, -56.02)
CIE-LCHlch(43.00, 87.13, 319.98°)
OKLaboklab(53.85% 0.1646 -0.158)
OKLCHoklch(53.85% 0.228 316.2)
XYZxyz(25.1610, 13.1588, 53.4284)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2CC4 #51C42C
analogous
#532CC4 #9F2CC4 #C42C9D
triadic
#9F2CC4 #C49F2C #2CC49F
tetradic
#9F2CC4 #C4532C #51C42C #2C9DC4
square
#9F2CC4 #C4532C #51C42C #2C9DC4
split-complementary
#9F2CC4 #9DC42C #2CC453
monochromatic
#4E1660 #762192 #9F2CC4 #B954D9 #CD86E4

Accessibility & contrast

On white

5.78
#9F2CC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#9F2CC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2CC4
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2CC4#FFFFFF#000000##FFFFFF
##9F2CC41.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC8
Deuteranopia (green-blind)
#2A69C1
Tritanopia (blue-blind)
#9C4F78
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9f2cc4;
/* rgb */ color: rgb(159, 44, 196);
/* oklch */ color: oklch(53.8% 0.228 316.2);
Tailwind
colors: {
  custom: {
    50: '#c073d7',
    500: '#9f2cc4',
    950: '#000000',
  },
}
SCSS
$custom: #9f2cc4;
$custom-light: #c073d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2cc4",
  "rgb": {
    "r": 159,
    "g": 44,
    "b": 196
  },
  "hsl": {
    "h": 285.395,
    "s": 63.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53849,
    "c": 0.2281,
    "h": 316.2
  },
  "luminance": 0.13158
}

Semantic roles & 50–950 ramp

primary
#9F2CC4
secondary
#92CD7E
accent
#E6416A
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9F2CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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