#9D3EC2#9D3EC2

#9D3EC2 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.1% C 0.206 H 314.9°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#9D3EC2
RGBrgb(157, 62, 194)
HSLhsl(283, 52%, 50%)
HSVhsv(283, 68%, 76%)
CMYKcmyk(19.1%, 68%, 0%, 23.9%)
CIE-LABlab(44.95, 59.17, -51.73)
CIE-LCHlch(44.95, 78.59, 318.84°)
OKLaboklab(55.14% 0.1451 -0.1456)
OKLCHoklch(55.14% 0.206 314.9)
XYZxyz(25.3633, 14.5093, 52.4930)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3EC2 #63C23E
analogous
#5B3EC2 #9D3EC2 #C23EA5
triadic
#9D3EC2 #C29D3E #3EC29D
tetradic
#9D3EC2 #C25B3E #63C23E #3EA5C2
square
#9D3EC2 #C25B3E #63C23E #3EA5C2
split-complementary
#9D3EC2 #A5C23E #3EC25B
monochromatic
#522066 #782F94 #9D3EC2 #B56DD1 #CC9BDF

Accessibility & contrast

On white

5.38
#9D3EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#9D3EC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3EC2
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3EC2#FFFFFF#000000##FFFFFF
##9D3EC21.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#3A6DBF
Tritanopia (blue-blind)
#9A587B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9d3ec2;
/* rgb */ color: rgb(157, 62, 194);
/* oklch */ color: oklch(55.1% 0.206 314.9);
Tailwind
colors: {
  custom: {
    50: '#be7bd5',
    500: '#9d3ec2',
    950: '#000000',
  },
}
SCSS
$custom: #9d3ec2;
$custom-light: #be7bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3ec2",
  "rgb": {
    "r": 157,
    "g": 62,
    "b": 194
  },
  "hsl": {
    "h": 283.182,
    "s": 51.969,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55136,
    "c": 0.20555,
    "h": 314.9
  },
  "luminance": 0.14508
}

Semantic roles & 50–950 ramp

primary
#9D3EC2
secondary
#A1CB90
accent
#DB4C74
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #9D3EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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