#9D3ECB#9D3ECB

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

Color values

HEX#9D3ECB
RGBrgb(157, 62, 203)
HSLhsl(280, 58%, 52%)
HSVhsv(280, 69%, 80%)
CMYKcmyk(22.7%, 69.5%, 0%, 20.4%)
CIE-LABlab(45.53, 61.02, -56.02)
CIE-LCHlch(45.53, 82.84, 317.45°)
OKLaboklab(55.73% 0.1444 -0.1581)
OKLCHoklch(55.73% 0.214 312.4)
XYZxyz(26.4048, 14.9259, 57.9784)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3ECB #6CCB3E
analogous
#573ECB #9D3ECB #CB3EB2
triadic
#9D3ECB #CB9D3E #3ECB9D
tetradic
#9D3ECB #CB573E #6CCB3E #3EB2CB
square
#9D3ECB #CB573E #6CCB3E #3EB2CB
split-complementary
#9D3ECB #B2CB3E #3ECB57
monochromatic
#561E70 #7A2BA1 #9D3ECB #B56ED8 #CE9EE5

Accessibility & contrast

On white

5.27
#9D3ECB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D3ECB
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3ECB#FFFFFF#000000##FFFFFF
##9D3ECB1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#306EC8
Tritanopia (blue-blind)
#985C80
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9d3ecb;
/* rgb */ color: rgb(157, 62, 203);
/* oklch */ color: oklch(55.7% 0.214 312.4);
Tailwind
colors: {
  custom: {
    50: '#be7bdc',
    500: '#9d3ecb',
    950: '#000000',
  },
}
SCSS
$custom: #9d3ecb;
$custom-light: #be7bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3ecb",
  "rgb": {
    "r": 157,
    "g": 62,
    "b": 203
  },
  "hsl": {
    "h": 280.426,
    "s": 57.551,
    "l": 51.961
  },
  "oklch": {
    "l": 0.55734,
    "c": 0.21411,
    "h": 312.4
  },
  "luminance": 0.14925
}

Semantic roles & 50–950 ramp

primary
#9D3ECB
secondary
#A8D194
accent
#E14779
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9D3ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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