#9E2FC3#9E2FC3

#9E2FC3 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.9% C 0.224 H 315.9°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#9E2FC3
RGBrgb(158, 47, 195)
HSLhsl(285, 61%, 47%)
HSVhsv(285, 76%, 76%)
CMYKcmyk(19%, 75.9%, 0%, 23.5%)
CIE-LABlab(43.13, 65.35, -55.24)
CIE-LCHlch(43.13, 85.57, 319.79°)
OKLaboklab(53.89% 0.161 -0.1557)
OKLCHoklch(53.89% 0.224 315.9)
XYZxyz(24.9658, 13.2433, 52.8603)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2FC3 #54C32F
analogous
#542FC3 #9E2FC3 #C32F9E
triadic
#9E2FC3 #C39E2F #2FC39E
tetradic
#9E2FC3 #C3542F #54C32F #2F9EC3
square
#9E2FC3 #C3542F #54C32F #2F9EC3
split-complementary
#9E2FC3 #9EC32F #2FC354
monochromatic
#4E1760 #762392 #9E2FC3 #B758D7 #CC8AE3

Accessibility & contrast

On white

5.76
#9E2FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#9E2FC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2FC3
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2FC3#FFFFFF#000000##FFFFFF
##9E2FC31.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#2C69C0
Tritanopia (blue-blind)
#9B5078
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9e2fc3;
/* rgb */ color: rgb(158, 47, 195);
/* oklch */ color: oklch(53.9% 0.224 315.9);
Tailwind
colors: {
  custom: {
    50: '#bf74d6',
    500: '#9e2fc3',
    950: '#000000',
  },
}
SCSS
$custom: #9e2fc3;
$custom-light: #bf74d6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2fc3",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 195
  },
  "hsl": {
    "h": 285,
    "s": 61.157,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53886,
    "c": 0.22396,
    "h": 315.9
  },
  "luminance": 0.13242
}

Semantic roles & 50–950 ramp

primary
#9E2FC3
secondary
#94CD81
accent
#E4446C
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9E2FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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