#9F2CD4#9F2CD4

#9F2CD4 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 55.0% C 0.242 H 311.9°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#9F2CD4
RGBrgb(159, 44, 212)
HSLhsl(281, 66%, 50%)
HSVhsv(281, 79%, 83%)
CMYKcmyk(25%, 79.2%, 0%, 16.9%)
CIE-LABlab(44.13, 69.84, -63.46)
CIE-LCHlch(44.13, 94.37, 317.74°)
OKLaboklab(55% 0.1616 -0.1798)
OKLCHoklch(55% 0.242 311.9)
XYZxyz(27.0802, 13.9265, 63.5362)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2CD4 #61D42C
analogous
#4B2CD4 #9F2CD4 #D42CB5
triadic
#9F2CD4 #D49F2C #2CD49F
tetradic
#9F2CD4 #D44B2C #61D42C #2CB5D4
square
#9F2CD4 #D44B2C #61D42C #2CB5D4
split-complementary
#9F2CD4 #B5D42C #2CD44B
monochromatic
#53176F #7921A2 #9F2CD4 #B65FDE #CD92E9

Accessibility & contrast

On white

5.55
#9F2CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#9F2CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2CD4
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2CD4#FFFFFF#000000##FFFFFF
##9F2CD41.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D8
Deuteranopia (green-blind)
#006AD1
Tritanopia (blue-blind)
#985681
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9f2cd4;
/* rgb */ color: rgb(159, 44, 212);
/* oklch */ color: oklch(55.0% 0.242 311.9);
Tailwind
colors: {
  custom: {
    50: '#c173e2',
    500: '#9f2cd4',
    950: '#000000',
  },
}
SCSS
$custom: #9f2cd4;
$custom-light: #c173e2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2cd4",
  "rgb": {
    "r": 159,
    "g": 44,
    "b": 212
  },
  "hsl": {
    "h": 281.071,
    "s": 66.142,
    "l": 50.196
  },
  "oklch": {
    "l": 0.54995,
    "c": 0.24175,
    "h": 311.9
  },
  "luminance": 0.13926
}

Semantic roles & 50–950 ramp

primary
#9F2CD4
secondary
#A0D388
accent
#E93F74
background
#FCF7FE
surface
#F8EDFC
border
#D1C8D5
text
#130915
muted
#827B84

Preview Lab

Preview with #9F2CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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