#9B2DA6#9B2DA6

#9B2DA6 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.4% C 0.200 H 324.0°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#9B2DA6
RGBrgb(155, 45, 166)
HSLhsl(295, 57%, 41%)
HSVhsv(295, 73%, 65%)
CMYKcmyk(6.6%, 72.9%, 0%, 34.9%)
CIE-LABlab(40.57, 60.04, -42.26)
CIE-LCHlch(40.57, 73.42, 324.86°)
OKLaboklab(51.39% 0.162 -0.1178)
OKLCHoklch(51.39% 0.2 324)
XYZxyz(21.3383, 11.5998, 37.1841)
Luminance0.1160 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2DA6 #38A62D
analogous
#5F2DA6 #9B2DA6 #A62D75
triadic
#9B2DA6 #A69B2D #2DA69B
tetradic
#9B2DA6 #A65F2D #38A62D #2D75A6
square
#9B2DA6 #A65F2D #38A62D #2D75A6
split-complementary
#9B2DA6 #75A62D #2DA65F
monochromatic
#411346 #6E2076 #9B2DA6 #C044CC #D074D9

Accessibility & contrast

On white

6.33
#9B2DA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#9B2DA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2DA6
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2DA6#FFFFFF#000000##FFFFFF
##9B2DA61.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A9
Deuteranopia (green-blind)
#4364A3
Tritanopia (blue-blind)
#9E4267
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9b2da6;
/* rgb */ color: rgb(155, 45, 166);
/* oklch */ color: oklch(51.4% 0.200 324.0);
Tailwind
colors: {
  custom: {
    50: '#bc71c1',
    500: '#9b2da6',
    950: '#000000',
  },
}
SCSS
$custom: #9b2da6;
$custom-light: #bc71c1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2da6",
  "rgb": {
    "r": 155,
    "g": 45,
    "b": 166
  },
  "hsl": {
    "h": 294.545,
    "s": 57.346,
    "l": 41.373
  },
  "oklch": {
    "l": 0.5139,
    "c": 0.20025,
    "h": 324
  },
  "luminance": 0.11599
}

Semantic roles & 50–950 ramp

primary
#9B2DA6
secondary
#75C16E
accent
#E14755
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9B2DA6

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

Preview Lab → · Contrast checker → · Palette generator →

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