#9D2BBA#9D2BBA

#9D2BBA is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.8% C 0.220 H 318.4°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#9D2BBA
RGBrgb(157, 43, 186)
HSLhsl(288, 62%, 45%)
HSVhsv(288, 77%, 73%)
CMYKcmyk(15.6%, 76.9%, 0%, 27.1%)
CIE-LABlab(41.91, 64.78, -51.95)
CIE-LCHlch(41.91, 83.04, 321.28°)
OKLaboklab(52.81% 0.1644 -0.1461)
OKLCHoklch(52.81% 0.22 318.4)
XYZxyz(23.6302, 12.4421, 47.6017)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2BBA #48BA2B
analogous
#552BBA #9D2BBA #BA2B90
triadic
#9D2BBA #BA9D2B #2BBA9D
tetradic
#9D2BBA #BA552B #48BA2B #2B90BA
square
#9D2BBA #BA552B #48BA2B #2B90BA
split-complementary
#9D2BBA #90BA2B #2BBA55
monochromatic
#491457 #732088 #9D2BBA #BA4CD6 #CD7EE1

Accessibility & contrast

On white

6.02
#9D2BBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#9D2BBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2BBA
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2BBA#FFFFFF#000000##FFFFFF
##9D2BBA1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBE
Deuteranopia (green-blind)
#3366B7
Tritanopia (blue-blind)
#9C4A72
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9d2bba;
/* rgb */ color: rgb(157, 43, 186);
/* oklch */ color: oklch(52.8% 0.220 318.4);
Tailwind
colors: {
  custom: {
    50: '#be71cf',
    500: '#9d2bba',
    950: '#000000',
  },
}
SCSS
$custom: #9d2bba;
$custom-light: #be71cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2bba",
  "rgb": {
    "r": 157,
    "g": 43,
    "b": 186
  },
  "hsl": {
    "h": 287.832,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52805,
    "c": 0.21991,
    "h": 318.4
  },
  "luminance": 0.12441
}

Semantic roles & 50–950 ramp

primary
#9D2BBA
secondary
#88CA77
accent
#E64263
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9D2BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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