#9F2CA7#9F2CA7

#9F2CA7 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.0% C 0.204 H 325.1°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#9F2CA7
RGBrgb(159, 44, 167)
HSLhsl(296, 58%, 41%)
HSVhsv(296, 74%, 65%)
CMYKcmyk(4.8%, 73.7%, 0%, 34.5%)
CIE-LABlab(41.16, 61.43, -41.88)
CIE-LCHlch(41.16, 74.35, 325.71°)
OKLaboklab(51.95% 0.1674 -0.1166)
OKLCHoklch(51.95% 0.204 325.1)
XYZxyz(22.1733, 11.9638, 37.6931)
Luminance0.1196 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2CA7 #34A72C
analogous
#622CA7 #9F2CA7 #A72C72
triadic
#9F2CA7 #A79F2C #2CA79F
tetradic
#9F2CA7 #A7622C #34A72C #2C72A7
square
#9F2CA7 #A7622C #34A72C #2C72A7
split-complementary
#9F2CA7 #72A72C #2CA762
monochromatic
#431246 #711F77 #9F2CA7 #C443CD #D373DA

Accessibility & contrast

On white

6.19
#9F2CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#9F2CA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2CA7
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2CA7#FFFFFF#000000##FFFFFF
##9F2CA71.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AA
Deuteranopia (green-blind)
#4666A4
Tritanopia (blue-blind)
#A34167
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9f2ca7;
/* rgb */ color: rgb(159, 44, 167);
/* oklch */ color: oklch(52.0% 0.204 325.1);
Tailwind
colors: {
  custom: {
    50: '#bf71c2',
    500: '#9f2ca7',
    950: '#000000',
  },
}
SCSS
$custom: #9f2ca7;
$custom-light: #bf71c2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2ca7",
  "rgb": {
    "r": 159,
    "g": 44,
    "b": 167
  },
  "hsl": {
    "h": 296.098,
    "s": 58.294,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51954,
    "c": 0.204,
    "h": 325.1
  },
  "luminance": 0.11962
}

Semantic roles & 50–950 ramp

primary
#9F2CA7
secondary
#73C26D
accent
#E24650
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #9F2CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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