#9E3FCA#9E3FCA

#9E3FCA is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 55.9% C 0.212 H 313.0°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#9E3FCA
RGBrgb(158, 63, 202)
HSLhsl(281, 57%, 52%)
HSVhsv(281, 69%, 79%)
CMYKcmyk(21.8%, 68.8%, 0%, 20.8%)
CIE-LABlab(45.76, 60.60, -55.07)
CIE-LCHlch(45.76, 81.89, 317.74°)
OKLaboklab(55.9% 0.1447 -0.1553)
OKLCHoklch(55.9% 0.212 313)
XYZxyz(26.5368, 15.0892, 57.3803)
Luminance0.1509 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E3FCA #6BCA3F
analogous
#593FCA #9E3FCA #CA3FB1
triadic
#9E3FCA #CA9E3F #3FCA9E
tetradic
#9E3FCA #CA593F #6BCA3F #3FB1CA
square
#9E3FCA #CA593F #6BCA3F #3FB1CA
split-complementary
#9E3FCA #B1CA3F #3FCA59
monochromatic
#561F70 #7B2CA0 #9E3FCA #B66FD7 #CE9FE4

Accessibility & contrast

On white

5.23
#9E3FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#9E3FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E3FCA
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E3FCA#FFFFFF#000000##FFFFFF
##9E3FCA1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#346EC7
Tritanopia (blue-blind)
#995C80
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9e3fca;
/* rgb */ color: rgb(158, 63, 202);
/* oklch */ color: oklch(55.9% 0.212 313.0);
Tailwind
colors: {
  custom: {
    50: '#bf7cdb',
    500: '#9e3fca',
    950: '#000000',
  },
}
SCSS
$custom: #9e3fca;
$custom-light: #bf7cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9e3fca",
  "rgb": {
    "r": 158,
    "g": 63,
    "b": 202
  },
  "hsl": {
    "h": 281.007,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.55901,
    "c": 0.21227,
    "h": 313
  },
  "luminance": 0.15088
}

Semantic roles & 50–950 ramp

primary
#9E3FCA
secondary
#A7D194
accent
#E04878
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9E3FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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