#9F2CA3#9F2CA3

#9F2CA3 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.7% C 0.201 H 326.5°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#9F2CA3
RGBrgb(159, 44, 163)
HSLhsl(298, 57%, 41%)
HSVhsv(298, 73%, 64%)
CMYKcmyk(2.5%, 73%, 0%, 36.1%)
CIE-LABlab(40.93, 60.74, -39.86)
CIE-LCHlch(40.93, 72.65, 326.72°)
OKLaboklab(51.71% 0.1675 -0.1107)
OKLCHoklch(51.71% 0.201 326.5)
XYZxyz(21.8092, 11.8181, 35.7757)
Luminance0.1182 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2CA3 #30A32C
analogous
#632CA3 #9F2CA3 #A32C6B
triadic
#9F2CA3 #A39F2C #2CA39F
tetradic
#9F2CA3 #A3632C #30A32C #2C6BA3
square
#9F2CA3 #A3632C #30A32C #2C6BA3
split-complementary
#9F2CA3 #6BA32C #2CA363
monochromatic
#411243 #701F73 #9F2CA3 #C741CC #D571D9

Accessibility & contrast

On white

6.24
#9F2CA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#9F2CA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2CA3
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2CA3#FFFFFF#000000##FFFFFF
##9F2CA31.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E57A6
Deuteranopia (green-blind)
#4865A0
Tritanopia (blue-blind)
#A33F65
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9f2ca3;
/* rgb */ color: rgb(159, 44, 163);
/* oklch */ color: oklch(51.7% 0.201 326.5);
Tailwind
colors: {
  custom: {
    50: '#bf71bf',
    500: '#9f2ca3',
    950: '#000000',
  },
}
SCSS
$custom: #9f2ca3;
$custom-light: #bf71bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2ca3",
  "rgb": {
    "r": 159,
    "g": 44,
    "b": 163
  },
  "hsl": {
    "h": 297.983,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51713,
    "c": 0.20078,
    "h": 326.5
  },
  "luminance": 0.11817
}

Semantic roles & 50–950 ramp

primary
#9F2CA3
secondary
#6EC06B
accent
#E1474C
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9F2CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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