#9D2BC4#9D2BC4

#9D2BC4 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.5% C 0.228 H 315.5°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#9D2BC4
RGBrgb(157, 43, 196)
HSLhsl(285, 64%, 47%)
HSVhsv(285, 78%, 77%)
CMYKcmyk(19.9%, 78.1%, 0%, 23.1%)
CIE-LABlab(42.59, 66.68, -56.71)
CIE-LCHlch(42.59, 87.54, 319.62°)
OKLaboklab(53.5% 0.1629 -0.16)
OKLCHoklch(53.5% 0.228 315.5)
XYZxyz(24.7307, 12.8823, 53.3977)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2BC4 #52C42B
analogous
#512BC4 #9D2BC4 #C42B9F
triadic
#9D2BC4 #C49D2B #2BC49D
tetradic
#9D2BC4 #C4512B #52C42B #2B9FC4
square
#9D2BC4 #C4512B #52C42B #2B9FC4
split-complementary
#9D2BC4 #9FC42B #2BC451
monochromatic
#4D1560 #752092 #9D2BC4 #B753D9 #CC85E4

Accessibility & contrast

On white

5.87
#9D2BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#9D2BC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2BC4
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2BC4#FFFFFF#000000##FFFFFF
##9D2BC41.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC8
Deuteranopia (green-blind)
#2567C1
Tritanopia (blue-blind)
#9A4F77
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9d2bc4;
/* rgb */ color: rgb(157, 43, 196);
/* oklch */ color: oklch(53.5% 0.228 315.5);
Tailwind
colors: {
  custom: {
    50: '#bf72d7',
    500: '#9d2bc4',
    950: '#000000',
  },
}
SCSS
$custom: #9d2bc4;
$custom-light: #bf72d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2bc4",
  "rgb": {
    "r": 157,
    "g": 43,
    "b": 196
  },
  "hsl": {
    "h": 284.706,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53495,
    "c": 0.22837,
    "h": 315.5
  },
  "luminance": 0.12881
}

Semantic roles & 50–950 ramp

primary
#9D2BC4
secondary
#92CE7D
accent
#E7416B
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9D2BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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