#9F2CB7#9F2CB7

#9F2CB7 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.0% C 0.217 H 320.0°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#9F2CB7
RGBrgb(159, 44, 183)
HSLhsl(290, 61%, 45%)
HSVhsv(290, 76%, 72%)
CMYKcmyk(13.1%, 76%, 0%, 28.2%)
CIE-LABlab(42.14, 64.29, -49.79)
CIE-LCHlch(42.14, 81.32, 322.24°)
OKLaboklab(52.97% 0.1663 -0.1397)
OKLCHoklch(52.97% 0.217 320)
XYZxyz(23.7449, 12.5924, 45.9704)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2CB7 #44B72C
analogous
#592CB7 #9F2CB7 #B72C8A
triadic
#9F2CB7 #B79F2C #2CB79F
tetradic
#9F2CB7 #B7592C #44B72C #2C8AB7
square
#9F2CB7 #B7592C #44B72C #2C8AB7
split-complementary
#9F2CB7 #8AB72C #2CB759
monochromatic
#491454 #742086 #9F2CB7 #BD4CD4 #CF7EE0

Accessibility & contrast

On white

5.97
#9F2CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#9F2CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2CB7
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2CB7#FFFFFF#000000##FFFFFF
##9F2CB71.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBB
Deuteranopia (green-blind)
#3967B4
Tritanopia (blue-blind)
#9F4970
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9f2cb7;
/* rgb */ color: rgb(159, 44, 183);
/* oklch */ color: oklch(53.0% 0.217 320.0);
Tailwind
colors: {
  custom: {
    50: '#bf72cd',
    500: '#9f2cb7',
    950: '#000000',
  },
}
SCSS
$custom: #9f2cb7;
$custom-light: #bf72cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2cb7",
  "rgb": {
    "r": 159,
    "g": 44,
    "b": 183
  },
  "hsl": {
    "h": 289.64,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52969,
    "c": 0.21716,
    "h": 320
  },
  "luminance": 0.12591
}

Semantic roles & 50–950 ramp

primary
#9F2CB7
secondary
#85C876
accent
#E4435F
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #9F2CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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