#9D3ABC#9D3ABC

#9D3ABC is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.3% C 0.205 H 317.0°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#9D3ABC
RGBrgb(157, 58, 188)
HSLhsl(286, 53%, 48%)
HSVhsv(286, 69%, 74%)
CMYKcmyk(16.5%, 69.1%, 0%, 26.3%)
CIE-LABlab(43.98, 59.64, -49.79)
CIE-LCHlch(43.98, 77.69, 320.14°)
OKLaboklab(54.32% 0.1499 -0.1398)
OKLCHoklch(54.32% 0.205 317)
XYZxyz(24.4934, 13.8260, 48.9457)
Luminance0.1383 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3ABC #59BC3A
analogous
#5C3ABC #9D3ABC #BC3A9A
triadic
#9D3ABC #BC9D3A #3ABC9D
tetradic
#9D3ABC #BC5C3A #59BC3A #3A9ABC
square
#9D3ABC #BC5C3A #59BC3A #3A9ABC
split-complementary
#9D3ABC #9ABC3A #3ABC5C
monochromatic
#4F1D5E #762C8D #9D3ABC #B664CF #CC93DE

Accessibility & contrast

On white

5.58
#9D3ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#9D3ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3ABC
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3ABC#FFFFFF#000000##FFFFFF
##9D3ABC1.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C0
Deuteranopia (green-blind)
#3C6BB9
Tritanopia (blue-blind)
#9C5377
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9d3abc;
/* rgb */ color: rgb(157, 58, 188);
/* oklch */ color: oklch(54.3% 0.205 317.0);
Tailwind
colors: {
  custom: {
    50: '#be78d1',
    500: '#9d3abc',
    950: '#000000',
  },
}
SCSS
$custom: #9d3abc;
$custom-light: #be78d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3abc",
  "rgb": {
    "r": 157,
    "g": 58,
    "b": 188
  },
  "hsl": {
    "h": 285.692,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.5432,
    "c": 0.20496,
    "h": 317
  },
  "luminance": 0.13825
}

Semantic roles & 50–950 ramp

primary
#9D3ABC
secondary
#98C989
accent
#DC4C6E
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9D3ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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