#9D3CBA#9D3CBA

#9D3CBA is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.4% C 0.201 H 317.5°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#9D3CBA
RGBrgb(157, 60, 186)
HSLhsl(286, 51%, 48%)
HSVhsv(286, 68%, 73%)
CMYKcmyk(15.6%, 67.7%, 0%, 27.1%)
CIE-LABlab(44.16, 58.41, -48.34)
CIE-LCHlch(44.16, 75.82, 320.39°)
OKLaboklab(54.4% 0.1478 -0.1356)
OKLCHoklch(54.4% 0.201 317.5)
XYZxyz(24.3821, 13.9460, 47.8524)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3CBA #59BA3C
analogous
#5E3CBA #9D3CBA #BA3C98
triadic
#9D3CBA #BA9D3C #3CBA9D
tetradic
#9D3CBA #BA5E3C #59BA3C #3C98BA
square
#9D3CBA #BA5E3C #59BA3C #3C98BA
split-complementary
#9D3CBA #98BA3C #3CBA5E
monochromatic
#4F1E5D #762D8C #9D3CBA #B666CE #CC94DC

Accessibility & contrast

On white

5.54
#9D3CBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#9D3CBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3CBA
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3CBA#FFFFFF#000000##FFFFFF
##9D3CBA1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BE
Deuteranopia (green-blind)
#406BB7
Tritanopia (blue-blind)
#9C5476
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9d3cba;
/* rgb */ color: rgb(157, 60, 186);
/* oklch */ color: oklch(54.4% 0.201 317.5);
Tailwind
colors: {
  custom: {
    50: '#bd79cf',
    500: '#9d3cba',
    950: '#000000',
  },
}
SCSS
$custom: #9d3cba;
$custom-light: #bd79cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3cba",
  "rgb": {
    "r": 157,
    "g": 60,
    "b": 186
  },
  "hsl": {
    "h": 286.19,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54404,
    "c": 0.20059,
    "h": 317.5
  },
  "luminance": 0.13945
}

Semantic roles & 50–950 ramp

primary
#9D3CBA
secondary
#98C88A
accent
#DB4D6E
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9D3CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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