#9E3DCA#9E3DCA

#9E3DCA is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.7% C 0.215 H 313.1°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#9E3DCA
RGBrgb(158, 61, 202)
HSLhsl(281, 57%, 52%)
HSVhsv(281, 70%, 79%)
CMYKcmyk(21.8%, 69.8%, 0%, 20.8%)
CIE-LABlab(45.46, 61.44, -55.55)
CIE-LCHlch(45.46, 82.83, 317.88°)
OKLaboklab(55.69% 0.1468 -0.1567)
OKLCHoklch(55.69% 0.215 313.1)
XYZxyz(26.4281, 14.8716, 57.3440)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E3DCA #69CA3D
analogous
#583DCA #9E3DCA #CA3DAF
triadic
#9E3DCA #CA9E3D #3DCA9E
tetradic
#9E3DCA #CA583D #69CA3D #3DAFCA
square
#9E3DCA #CA583D #69CA3D #3DAFCA
split-complementary
#9E3DCA #AFCA3D #3DCA58
monochromatic
#551E6E #7B2B9F #9E3DCA #B66DD7 #CE9DE4

Accessibility & contrast

On white

5.28
#9E3DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#9E3DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E3DCA
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E3DCA#FFFFFF#000000##FFFFFF
##9E3DCA1.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e3dca;
/* rgb */ color: rgb(158, 61, 202);
/* oklch */ color: oklch(55.7% 0.215 313.1);
Tailwind
colors: {
  custom: {
    50: '#bf7adb',
    500: '#9e3dca',
    950: '#000000',
  },
}
SCSS
$custom: #9e3dca;
$custom-light: #bf7adb;
$custom-dark: #000000;
JSON
{
  "hex": "#9e3dca",
  "rgb": {
    "r": 158,
    "g": 61,
    "b": 202
  },
  "hsl": {
    "h": 281.277,
    "s": 57.085,
    "l": 51.569
  },
  "oklch": {
    "l": 0.55688,
    "c": 0.21471,
    "h": 313.1
  },
  "luminance": 0.14871
}

Semantic roles & 50–950 ramp

primary
#9E3DCA
secondary
#A6D092
accent
#E04777
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9E3DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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