#9D3EC3#9D3EC3

#9D3EC3 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.2% C 0.206 H 314.6°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#9D3EC3
RGBrgb(157, 62, 195)
HSLhsl(283, 53%, 50%)
HSVhsv(283, 68%, 76%)
CMYKcmyk(19.5%, 68.2%, 0%, 23.5%)
CIE-LABlab(45.02, 59.37, -52.21)
CIE-LCHlch(45.02, 79.06, 318.67°)
OKLaboklab(55.2% 0.1451 -0.147)
OKLCHoklch(55.2% 0.207 314.6)
XYZxyz(25.4760, 14.5543, 53.0865)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3EC3 #64C33E
analogous
#5A3EC3 #9D3EC3 #C33EA6
triadic
#9D3EC3 #C39D3E #3EC39D
tetradic
#9D3EC3 #C35A3E #64C33E #3EA6C3
square
#9D3EC3 #C35A3E #64C33E #3EA6C3
split-complementary
#9D3EC3 #A6C33E #3EC35A
monochromatic
#522067 #782E95 #9D3EC3 #B56DD2 #CC9BE0

Accessibility & contrast

On white

5.37
#9D3EC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#9D3EC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3EC3
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3EC3#FFFFFF#000000##FFFFFF
##9D3EC31.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C7
Deuteranopia (green-blind)
#396DC0
Tritanopia (blue-blind)
#9A597C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9d3ec3;
/* rgb */ color: rgb(157, 62, 195);
/* oklch */ color: oklch(55.2% 0.206 314.6);
Tailwind
colors: {
  custom: {
    50: '#be7bd6',
    500: '#9d3ec3',
    950: '#000000',
  },
}
SCSS
$custom: #9d3ec3;
$custom-light: #be7bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3ec3",
  "rgb": {
    "r": 157,
    "g": 62,
    "b": 195
  },
  "hsl": {
    "h": 282.857,
    "s": 52.569,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55201,
    "c": 0.2065,
    "h": 314.6
  },
  "luminance": 0.14553
}

Semantic roles & 50–950 ramp

primary
#9D3EC3
secondary
#A2CC91
accent
#DC4C75
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #9D3EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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