#9D2BA8#9D2BA8

#9D2BA8 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.6% C 0.205 H 324.1°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#9D2BA8
RGBrgb(157, 43, 168)
HSLhsl(295, 59%, 41%)
HSVhsv(295, 74%, 66%)
CMYKcmyk(6.5%, 74.4%, 0%, 34.1%)
CIE-LABlab(40.77, 61.51, -43.11)
CIE-LCHlch(40.77, 75.11, 324.98°)
OKLaboklab(51.64% 0.166 -0.1202)
OKLCHoklch(51.64% 0.205 324.1)
XYZxyz(21.8358, 11.7244, 38.1511)
Luminance0.1172 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2BA8 #36A82B
analogous
#5F2BA8 #9D2BA8 #A82B75
triadic
#9D2BA8 #A89D2B #2BA89D
tetradic
#9D2BA8 #A85F2B #36A82B #2B75A8
square
#9D2BA8 #A85F2B #36A82B #2B75A8
split-complementary
#9D2BA8 #75A82B #2BA85F
monochromatic
#421247 #6F1F77 #9D2BA8 #C242CF #D272DB

Accessibility & contrast

On white

6.28
#9D2BA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#9D2BA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2BA8
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2BA8#FFFFFF#000000##FFFFFF
##9D2BA81.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AB
Deuteranopia (green-blind)
#4365A5
Tritanopia (blue-blind)
#A04268
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9d2ba8;
/* rgb */ color: rgb(157, 43, 168);
/* oklch */ color: oklch(51.6% 0.205 324.1);
Tailwind
colors: {
  custom: {
    50: '#be71c2',
    500: '#9d2ba8',
    950: '#000000',
  },
}
SCSS
$custom: #9d2ba8;
$custom-light: #be71c2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2ba8",
  "rgb": {
    "r": 157,
    "g": 43,
    "b": 168
  },
  "hsl": {
    "h": 294.72,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51636,
    "c": 0.20498,
    "h": 324.1
  },
  "luminance": 0.11723
}

Semantic roles & 50–950 ramp

primary
#9D2BA8
secondary
#74C26C
accent
#E24553
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #9D2BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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