#9D3BC9#9D3BC9

#9D3BC9 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.3% C 0.216 H 313.2°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#9D3BC9
RGBrgb(157, 59, 201)
HSLhsl(281, 57%, 51%)
HSVhsv(281, 71%, 79%)
CMYKcmyk(21.9%, 70.6%, 0%, 21.2%)
CIE-LABlab(44.96, 61.85, -55.78)
CIE-LCHlch(44.96, 83.29, 317.95°)
OKLaboklab(55.28% 0.1477 -0.1574)
OKLCHoklch(55.28% 0.216 313.2)
XYZxyz(26.0094, 14.5139, 56.6784)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3BC9 #67C93B
analogous
#563BC9 #9D3BC9 #C93BAE
triadic
#9D3BC9 #C99D3B #3BC99D
tetradic
#9D3BC9 #C9563B #67C93B #3BAEC9
square
#9D3BC9 #C9563B #67C93B #3BAEC9
split-complementary
#9D3BC9 #AEC93B #3BC956
monochromatic
#541E6C #792B9C #9D3BC9 #B56BD6 #CD9BE3

Accessibility & contrast

On white

5.38
#9D3BC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#9D3BC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3BC9
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3BC9#FFFFFF#000000##FFFFFF
##9D3BC91.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CD
Deuteranopia (green-blind)
#2F6DC6
Tritanopia (blue-blind)
#98597E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9d3bc9;
/* rgb */ color: rgb(157, 59, 201);
/* oklch */ color: oklch(55.3% 0.216 313.2);
Tailwind
colors: {
  custom: {
    50: '#be79da',
    500: '#9d3bc9',
    950: '#000000',
  },
}
SCSS
$custom: #9d3bc9;
$custom-light: #be79da;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3bc9",
  "rgb": {
    "r": 157,
    "g": 59,
    "b": 201
  },
  "hsl": {
    "h": 281.408,
    "s": 56.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.55284,
    "c": 0.21582,
    "h": 313.2
  },
  "luminance": 0.14513
}

Semantic roles & 50–950 ramp

primary
#9D3BC9
secondary
#A4CF90
accent
#E04877
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9D3BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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