#9E3FC2#9E3FC2

#9E3FC2 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.4% C 0.205 H 315.2°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#9E3FC2
RGBrgb(158, 63, 194)
HSLhsl(284, 52%, 50%)
HSVhsv(284, 68%, 76%)
CMYKcmyk(18.6%, 67.5%, 0%, 23.9%)
CIE-LABlab(45.25, 58.96, -51.25)
CIE-LCHlch(45.25, 78.12, 319.00°)
OKLaboklab(55.38% 0.1453 -0.1441)
OKLCHoklch(55.38% 0.205 315.2)
XYZxyz(25.6141, 14.7201, 52.5205)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E3FC2 #63C23F
analogous
#5C3FC2 #9E3FC2 #C23FA5
triadic
#9E3FC2 #C29E3F #3FC29E
tetradic
#9E3FC2 #C25C3F #63C23F #3FA5C2
square
#9E3FC2 #C25C3F #63C23F #3FA5C2
split-complementary
#9E3FC2 #A5C23F #3FC25C
monochromatic
#532066 #792F95 #9E3FC2 #B56DD1 #CD9CE0

Accessibility & contrast

On white

5.32
#9E3FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#9E3FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E3FC2
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E3FC2#FFFFFF#000000##FFFFFF
##9E3FC21.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#3C6EBF
Tritanopia (blue-blind)
#9B597C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9e3fc2;
/* rgb */ color: rgb(158, 63, 194);
/* oklch */ color: oklch(55.4% 0.205 315.2);
Tailwind
colors: {
  custom: {
    50: '#be7bd5',
    500: '#9e3fc2',
    950: '#000000',
  },
}
SCSS
$custom: #9e3fc2;
$custom-light: #be7bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e3fc2",
  "rgb": {
    "r": 158,
    "g": 63,
    "b": 194
  },
  "hsl": {
    "h": 283.511,
    "s": 51.779,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55376,
    "c": 0.20465,
    "h": 315.2
  },
  "luminance": 0.14719
}

Semantic roles & 50–950 ramp

primary
#9E3FC2
secondary
#A1CC91
accent
#DB4D74
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #9E3FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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