#9E2FC2#9E2FC2

#9E2FC2 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.8% C 0.223 H 316.2°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#9E2FC2
RGBrgb(158, 47, 194)
HSLhsl(285, 61%, 47%)
HSVhsv(285, 76%, 76%)
CMYKcmyk(18.6%, 75.8%, 0%, 23.9%)
CIE-LABlab(43.06, 65.16, -54.77)
CIE-LCHlch(43.06, 85.12, 319.95°)
OKLaboklab(53.82% 0.1611 -0.1543)
OKLCHoklch(53.82% 0.223 316.2)
XYZxyz(24.8532, 13.1982, 52.2668)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2FC2 #53C22F
analogous
#542FC2 #9E2FC2 #C22F9D
triadic
#9E2FC2 #C29E2F #2FC29E
tetradic
#9E2FC2 #C2542F #53C22F #2F9DC2
square
#9E2FC2 #C2542F #53C22F #2F9DC2
split-complementary
#9E2FC2 #9DC22F #2FC254
monochromatic
#4E175F #762391 #9E2FC2 #B758D6 #CD89E2

Accessibility & contrast

On white

5.77
#9E2FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#9E2FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2FC2
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2FC2#FFFFFF#000000##FFFFFF
##9E2FC21.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#2E69BF
Tritanopia (blue-blind)
#9C5077
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9e2fc2;
/* rgb */ color: rgb(158, 47, 194);
/* oklch */ color: oklch(53.8% 0.223 316.2);
Tailwind
colors: {
  custom: {
    50: '#bf74d5',
    500: '#9e2fc2',
    950: '#000000',
  },
}
SCSS
$custom: #9e2fc2;
$custom-light: #bf74d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2fc2",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 194
  },
  "hsl": {
    "h": 285.306,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53817,
    "c": 0.2231,
    "h": 316.2
  },
  "luminance": 0.13197
}

Semantic roles & 50–950 ramp

primary
#9E2FC2
secondary
#93CC81
accent
#E4446B
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9E2FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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