#9D3ECA#9D3ECA

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

Color values

HEX#9D3ECA
RGBrgb(157, 62, 202)
HSLhsl(281, 57%, 52%)
HSVhsv(281, 69%, 79%)
CMYKcmyk(22.3%, 69.3%, 0%, 20.8%)
CIE-LABlab(45.47, 60.82, -55.54)
CIE-LCHlch(45.47, 82.36, 317.59°)
OKLaboklab(55.67% 0.1445 -0.1567)
OKLCHoklch(55.67% 0.213 312.7)
XYZxyz(26.2860, 14.8784, 57.3528)
Luminance0.1488 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3ECA #6BCA3E
analogous
#573ECA #9D3ECA #CA3EB1
triadic
#9D3ECA #CA9D3E #3ECA9D
tetradic
#9D3ECA #CA573E #6BCA3E #3EB1CA
square
#9D3ECA #CA573E #6BCA3E #3EB1CA
split-complementary
#9D3ECA #B1CA3E #3ECA57
monochromatic
#551F6F #7A2C9F #9D3ECA #B56ED7 #CE9EE4

Accessibility & contrast

On white

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

On black

3.98
#9D3ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9D3ECA#FFFFFF#000000##FFFFFF
##9D3ECA1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d3eca;
/* rgb */ color: rgb(157, 62, 202);
/* oklch */ color: oklch(55.7% 0.213 312.7);
Tailwind
colors: {
  custom: {
    50: '#be7bdb',
    500: '#9d3eca',
    950: '#000000',
  },
}
SCSS
$custom: #9d3eca;
$custom-light: #be7bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3eca",
  "rgb": {
    "r": 157,
    "g": 62,
    "b": 202
  },
  "hsl": {
    "h": 280.714,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.55666,
    "c": 0.21315,
    "h": 312.7
  },
  "luminance": 0.14878
}

Semantic roles & 50–950 ramp

primary
#9D3ECA
secondary
#A7D193
accent
#E04879
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9D3ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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