#9D3EBB#9D3EBB

#9D3EBB is a mid, vivid purple. Relative luminance 0.142; OKLCH L 54.7% C 0.199 H 317.0°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#9D3EBB
RGBrgb(157, 62, 187)
HSLhsl(286, 50%, 49%)
HSVhsv(286, 67%, 73%)
CMYKcmyk(16%, 66.8%, 0%, 26.7%)
CIE-LABlab(44.52, 57.75, -48.34)
CIE-LCHlch(44.52, 75.32, 320.07°)
OKLaboklab(54.69% 0.1455 -0.1356)
OKLCHoklch(54.69% 0.199 317)
XYZxyz(24.5956, 14.2022, 48.4498)
Luminance0.1420 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3EBB #5CBB3E
analogous
#5F3EBB #9D3EBB #BB3E9B
triadic
#9D3EBB #BB9D3E #3EBB9D
tetradic
#9D3EBB #BB5F3E #5CBB3E #3E9BBB
square
#9D3EBB #BB5F3E #5CBB3E #3E9BBB
split-complementary
#9D3EBB #9BBB3E #3EBB5F
monochromatic
#50205F #762F8D #9D3EBB #B569CD #CC97DC

Accessibility & contrast

On white

5.47
#9D3EBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#9D3EBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3EBB
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3EBB#FFFFFF#000000##FFFFFF
##9D3EBB1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0163BF
Deuteranopia (green-blind)
#406CB8
Tritanopia (blue-blind)
#9C5577
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9d3ebb;
/* rgb */ color: rgb(157, 62, 187);
/* oklch */ color: oklch(54.7% 0.199 317.0);
Tailwind
colors: {
  custom: {
    50: '#bd7ad0',
    500: '#9d3ebb',
    950: '#000000',
  },
}
SCSS
$custom: #9d3ebb;
$custom-light: #bd7ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3ebb",
  "rgb": {
    "r": 157,
    "g": 62,
    "b": 187
  },
  "hsl": {
    "h": 285.6,
    "s": 50.201,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54687,
    "c": 0.19894,
    "h": 317
  },
  "luminance": 0.14201
}

Semantic roles & 50–950 ramp

primary
#9D3EBB
secondary
#9BC88D
accent
#DA4E70
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9D3EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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