#9E2FC4#9E2FC4

#9E2FC4 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 54.0% C 0.225 H 315.7°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#9E2FC4
RGBrgb(158, 47, 196)
HSLhsl(285, 61%, 48%)
HSVhsv(285, 76%, 77%)
CMYKcmyk(19.4%, 76%, 0%, 23.1%)
CIE-LABlab(43.19, 65.55, -55.72)
CIE-LCHlch(43.19, 86.03, 319.63°)
OKLaboklab(53.96% 0.1608 -0.1571)
OKLCHoklch(53.96% 0.225 315.7)
XYZxyz(25.0793, 13.2886, 53.4577)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2FC4 #55C42F
analogous
#532FC4 #9E2FC4 #C42F9F
triadic
#9E2FC4 #C49E2F #2FC49E
tetradic
#9E2FC4 #C4532F #55C42F #2F9FC4
square
#9E2FC4 #C4532F #55C42F #2F9FC4
split-complementary
#9E2FC4 #9FC42F #2FC453
monochromatic
#4E1761 #762393 #9E2FC4 #B759D7 #CC8AE3

Accessibility & contrast

On white

5.74
#9E2FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#9E2FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2FC4
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2FC4#FFFFFF#000000##FFFFFF
##9E2FC41.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C8
Deuteranopia (green-blind)
#2B69C1
Tritanopia (blue-blind)
#9B5078
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9e2fc4;
/* rgb */ color: rgb(158, 47, 196);
/* oklch */ color: oklch(54.0% 0.225 315.7);
Tailwind
colors: {
  custom: {
    50: '#bf74d7',
    500: '#9e2fc4',
    950: '#000000',
  },
}
SCSS
$custom: #9e2fc4;
$custom-light: #bf74d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2fc4",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 196
  },
  "hsl": {
    "h": 284.698,
    "s": 61.317,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53955,
    "c": 0.22483,
    "h": 315.7
  },
  "luminance": 0.13288
}

Semantic roles & 50–950 ramp

primary
#9E2FC4
secondary
#95CD82
accent
#E4436C
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9E2FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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