#9F2ECA#9F2ECA

#9F2ECA is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.4% C 0.231 H 314.4°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#9F2ECA
RGBrgb(159, 46, 202)
HSLhsl(283, 63%, 49%)
HSVhsv(283, 77%, 79%)
CMYKcmyk(21.3%, 77.2%, 0%, 20.8%)
CIE-LABlab(43.64, 67.23, -58.48)
CIE-LCHlch(43.64, 89.11, 318.98°)
OKLaboklab(54.43% 0.1619 -0.1652)
OKLCHoklch(54.43% 0.231 314.4)
XYZxyz(25.9339, 13.5901, 57.1227)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2ECA #59CA2E
analogous
#512ECA #9F2ECA #CA2EA7
triadic
#9F2ECA #CA9F2E #2ECA9F
tetradic
#9F2ECA #CA512E #59CA2E #2EA7CA
square
#9F2ECA #CA512E #59CA2E #2EA7CA
split-complementary
#9F2ECA #A7CA2E #2ECA51
monochromatic
#511766 #782398 #9F2ECA #B75BDA #CD8DE5

Accessibility & contrast

On white

5.65
#9F2ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#9F2ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2ECA
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2ECA#FFFFFF#000000##FFFFFF
##9F2ECA1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#226AC7
Tritanopia (blue-blind)
#9B527C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9f2eca;
/* rgb */ color: rgb(159, 46, 202);
/* oklch */ color: oklch(54.4% 0.231 314.4);
Tailwind
colors: {
  custom: {
    50: '#c074db',
    500: '#9f2eca',
    950: '#000000',
  },
}
SCSS
$custom: #9f2eca;
$custom-light: #c074db;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2eca",
  "rgb": {
    "r": 159,
    "g": 46,
    "b": 202
  },
  "hsl": {
    "h": 283.462,
    "s": 62.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54429,
    "c": 0.23133,
    "h": 314.4
  },
  "luminance": 0.13589
}

Semantic roles & 50–950 ramp

primary
#9F2ECA
secondary
#99CF84
accent
#E6426F
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9F2ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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