#9F2CC3#9F2CC3

#9F2CC3 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.8% C 0.227 H 316.5°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#9F2CC3
RGBrgb(159, 44, 195)
HSLhsl(286, 63%, 47%)
HSVhsv(286, 77%, 76%)
CMYKcmyk(18.5%, 77.4%, 0%, 23.5%)
CIE-LABlab(42.93, 66.54, -55.55)
CIE-LCHlch(42.93, 86.68, 320.14°)
OKLaboklab(53.78% 0.1647 -0.1566)
OKLCHoklch(53.78% 0.227 316.5)
XYZxyz(25.0476, 13.1135, 52.8309)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2CC3 #50C32C
analogous
#532CC3 #9F2CC3 #C32C9C
triadic
#9F2CC3 #C39F2C #2CC39F
tetradic
#9F2CC3 #C3532C #50C32C #2C9CC3
square
#9F2CC3 #C3532C #50C32C #2C9CC3
split-complementary
#9F2CC3 #9CC32C #2CC353
monochromatic
#4E155F #762191 #9F2CC3 #B954D8 #CD86E4

Accessibility & contrast

On white

5.80
#9F2CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#9F2CC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2CC3
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2CC3#FFFFFF#000000##FFFFFF
##9F2CC31.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#2B69C0
Tritanopia (blue-blind)
#9D4E77
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9f2cc3;
/* rgb */ color: rgb(159, 44, 195);
/* oklch */ color: oklch(53.8% 0.227 316.5);
Tailwind
colors: {
  custom: {
    50: '#c072d6',
    500: '#9f2cc3',
    950: '#000000',
  },
}
SCSS
$custom: #9f2cc3;
$custom-light: #c072d6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2cc3",
  "rgb": {
    "r": 159,
    "g": 44,
    "b": 195
  },
  "hsl": {
    "h": 285.695,
    "s": 63.18,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5378,
    "c": 0.22725,
    "h": 316.5
  },
  "luminance": 0.13112
}

Semantic roles & 50–950 ramp

primary
#9F2CC3
secondary
#91CD7E
accent
#E64269
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9F2CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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