#9D2BA2#9D2BA2

#9D2BA2 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.3% C 0.200 H 326.2°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#9D2BA2
RGBrgb(157, 43, 162)
HSLhsl(297, 58%, 40%)
HSVhsv(297, 73%, 64%)
CMYKcmyk(3.1%, 73.5%, 0%, 36.5%)
CIE-LABlab(40.42, 60.47, -40.09)
CIE-LCHlch(40.42, 72.55, 326.46°)
OKLaboklab(51.27% 0.1663 -0.1114)
OKLCHoklch(51.27% 0.2 326.2)
XYZxyz(21.2897, 11.5059, 35.2749)
Luminance0.1150 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2BA2 #30A22B
analogous
#612BA2 #9D2BA2 #A22B6B
triadic
#9D2BA2 #A29D2B #2BA29D
tetradic
#9D2BA2 #A2612B #30A22B #2B6BA2
square
#9D2BA2 #A2612B #30A22B #2B6BA2
split-complementary
#9D2BA2 #6BA22B #2BA261
monochromatic
#3F1141 #6E1E72 #9D2BA2 #C63ECC #D46FD9

Accessibility & contrast

On white

6.36
#9D2BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#9D2BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2BA2
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2BA2#FFFFFF#000000##FFFFFF
##9D2BA21.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0956A5
Deuteranopia (green-blind)
#47649F
Tritanopia (blue-blind)
#A13F64
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9d2ba2;
/* rgb */ color: rgb(157, 43, 162);
/* oklch */ color: oklch(51.3% 0.200 326.2);
Tailwind
colors: {
  custom: {
    50: '#be70be',
    500: '#9d2ba2',
    950: '#000000',
  },
}
SCSS
$custom: #9d2ba2;
$custom-light: #be70be;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2ba2",
  "rgb": {
    "r": 157,
    "g": 43,
    "b": 162
  },
  "hsl": {
    "h": 297.479,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51269,
    "c": 0.20013,
    "h": 326.2
  },
  "luminance": 0.11504
}

Semantic roles & 50–950 ramp

primary
#9D2BA2
secondary
#6DC069
accent
#E1474D
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9D2BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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