#9D3DCB#9D3DCB

#9D3DCB is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.6% C 0.215 H 312.5°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#9D3DCB
RGBrgb(157, 61, 203)
HSLhsl(281, 58%, 52%)
HSVhsv(281, 70%, 80%)
CMYKcmyk(22.7%, 70%, 0%, 20.4%)
CIE-LABlab(45.38, 61.44, -56.25)
CIE-LCHlch(45.38, 83.30, 317.52°)
OKLaboklab(55.63% 0.1454 -0.1588)
OKLCHoklch(55.63% 0.215 312.5)
XYZxyz(26.3509, 14.8181, 57.9604)
Luminance0.1482 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3DCB #6BCB3D
analogous
#563DCB #9D3DCB #CB3DB2
triadic
#9D3DCB #CB9D3D #3DCB9D
tetradic
#9D3DCB #CB563D #6BCB3D #3DB2CB
square
#9D3DCB #CB563D #6BCB3D #3DB2CB
split-complementary
#9D3DCB #B2CB3D #3DCB56
monochromatic
#551E70 #7A2BA0 #9D3DCB #B56DD8 #CE9EE5

Accessibility & contrast

On white

5.30
#9D3DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#9D3DCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3DCB
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3DCB#FFFFFF#000000##FFFFFF
##9D3DCB1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#2E6DC8
Tritanopia (blue-blind)
#985B80
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9d3dcb;
/* rgb */ color: rgb(157, 61, 203);
/* oklch */ color: oklch(55.6% 0.215 312.5);
Tailwind
colors: {
  custom: {
    50: '#be7adc',
    500: '#9d3dcb',
    950: '#000000',
  },
}
SCSS
$custom: #9d3dcb;
$custom-light: #be7adc;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3dcb",
  "rgb": {
    "r": 157,
    "g": 61,
    "b": 203
  },
  "hsl": {
    "h": 280.563,
    "s": 57.724,
    "l": 51.765
  },
  "oklch": {
    "l": 0.55628,
    "c": 0.21532,
    "h": 312.5
  },
  "luminance": 0.14817
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D3DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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