#9D3EB2#9D3EB2

#9D3EB2 is a mid, vivid purple. Relative luminance 0.138; OKLCH L 54.1% C 0.191 H 319.9°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#9D3EB2
RGBrgb(157, 62, 178)
HSLhsl(289, 48%, 47%)
HSVhsv(289, 65%, 70%)
CMYKcmyk(11.8%, 65.2%, 0%, 30.2%)
CIE-LABlab(43.99, 55.98, -43.91)
CIE-LCHlch(43.99, 71.15, 321.89°)
OKLaboklab(54.13% 0.1458 -0.1227)
OKLCHoklch(54.13% 0.191 319.9)
XYZxyz(23.6621, 13.8288, 43.5337)
Luminance0.1383 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3EB2 #53B23E
analogous
#633EB2 #9D3EB2 #B23E8D
triadic
#9D3EB2 #B29D3E #3EB29D
tetradic
#9D3EB2 #B2633E #53B23E #3E8DB2
square
#9D3EB2 #B2633E #53B23E #3E8DB2
split-complementary
#9D3EB2 #8DB23E #3EB263
monochromatic
#4D1E57 #752E85 #9D3EB2 #B764C9 #CC92D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D3EB2#FFFFFF#000000##FFFFFF
##9D3EB21.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)
#1B61B5
Deuteranopia (green-blind)
#476BAF
Tritanopia (blue-blind)
#9E5273
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9d3eb2;
/* rgb */ color: rgb(157, 62, 178);
/* oklch */ color: oklch(54.1% 0.191 319.9);
Tailwind
colors: {
  custom: {
    50: '#bd7ac9',
    500: '#9d3eb2',
    950: '#000000',
  },
}
SCSS
$custom: #9d3eb2;
$custom-light: #bd7ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3eb2",
  "rgb": {
    "r": 157,
    "g": 62,
    "b": 178
  },
  "hsl": {
    "h": 289.138,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54129,
    "c": 0.19052,
    "h": 319.9
  },
  "luminance": 0.13828
}

Semantic roles & 50–950 ramp

primary
#9D3EB2
secondary
#93C488
accent
#D85069
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9D3EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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