#9F2EC0#9F2EC0

#9F2EC0 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.7% C 0.223 H 317.2°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#9F2EC0
RGBrgb(159, 46, 192)
HSLhsl(286, 61%, 47%)
HSVhsv(286, 76%, 75%)
CMYKcmyk(17.2%, 76%, 0%, 24.7%)
CIE-LABlab(42.96, 65.31, -53.75)
CIE-LCHlch(42.96, 84.59, 320.54°)
OKLaboklab(53.74% 0.1635 -0.1513)
OKLCHoklch(53.74% 0.223 317.2)
XYZxyz(24.7881, 13.1318, 51.0879)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2EC0 #4FC02E
analogous
#562EC0 #9F2EC0 #C02E98
triadic
#9F2EC0 #C09F2E #2EC09F
tetradic
#9F2EC0 #C0562E #4FC02E #2E98C0
square
#9F2EC0 #C0562E #4FC02E #2E98C0
split-complementary
#9F2EC0 #98C02E #2EC056
monochromatic
#4D165D #76228F #9F2EC0 #B955D6 #CD86E2

Accessibility & contrast

On white

5.79
#9F2EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#9F2EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2EC0
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2EC0#FFFFFF#000000##FFFFFF
##9F2EC01.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC4
Deuteranopia (green-blind)
#3169BD
Tritanopia (blue-blind)
#9D4E76
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9f2ec0;
/* rgb */ color: rgb(159, 46, 192);
/* oklch */ color: oklch(53.7% 0.223 317.2);
Tailwind
colors: {
  custom: {
    50: '#c073d4',
    500: '#9f2ec0',
    950: '#000000',
  },
}
SCSS
$custom: #9f2ec0;
$custom-light: #c073d4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2ec0",
  "rgb": {
    "r": 159,
    "g": 46,
    "b": 192
  },
  "hsl": {
    "h": 286.438,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53735,
    "c": 0.22275,
    "h": 317.2
  },
  "luminance": 0.13131
}

Semantic roles & 50–950 ramp

primary
#9F2EC0
secondary
#90CC7E
accent
#E44368
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9F2EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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