#9D2BC2#9D2BC2

#9D2BC2 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.4% C 0.227 H 316.1°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#9D2BC2
RGBrgb(157, 43, 194)
HSLhsl(285, 64%, 46%)
HSVhsv(285, 78%, 76%)
CMYKcmyk(19.1%, 77.8%, 0%, 23.9%)
CIE-LABlab(42.45, 66.30, -55.77)
CIE-LCHlch(42.45, 86.63, 319.93°)
OKLaboklab(53.36% 0.1632 -0.1573)
OKLCHoklch(53.36% 0.227 316.1)
XYZxyz(24.5046, 12.7919, 52.2068)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2BC2 #50C22B
analogous
#522BC2 #9D2BC2 #C22B9C
triadic
#9D2BC2 #C29D2B #2BC29D
tetradic
#9D2BC2 #C2522B #50C22B #2B9CC2
square
#9D2BC2 #C2522B #50C22B #2B9CC2
split-complementary
#9D2BC2 #9CC22B #2BC252
monochromatic
#4C155E #742090 #9D2BC2 #B852D9 #CC84E4

Accessibility & contrast

On white

5.90
#9D2BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#9D2BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2BC2
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2BC2#FFFFFF#000000##FFFFFF
##9D2BC21.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#2867BF
Tritanopia (blue-blind)
#9A4E76
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9d2bc2;
/* rgb */ color: rgb(157, 43, 194);
/* oklch */ color: oklch(53.4% 0.227 316.1);
Tailwind
colors: {
  custom: {
    50: '#be72d5',
    500: '#9d2bc2',
    950: '#000000',
  },
}
SCSS
$custom: #9d2bc2;
$custom-light: #be72d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2bc2",
  "rgb": {
    "r": 157,
    "g": 43,
    "b": 194
  },
  "hsl": {
    "h": 285.298,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53355,
    "c": 0.22667,
    "h": 316.1
  },
  "luminance": 0.12791
}

Semantic roles & 50–950 ramp

primary
#9D2BC2
secondary
#90CD7C
accent
#E7416A
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9D2BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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