#9B2DC8#9B2DC8

#9B2DC8 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.7% C 0.229 H 313.6°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#9B2DC8
RGBrgb(155, 45, 200)
HSLhsl(283, 63%, 48%)
HSVhsv(283, 78%, 78%)
CMYKcmyk(22.5%, 77.5%, 0%, 21.6%)
CIE-LABlab(42.79, 66.45, -58.72)
CIE-LCHlch(42.79, 88.68, 318.53°)
OKLaboklab(53.67% 0.1581 -0.166)
OKLCHoklch(53.67% 0.229 313.6)
XYZxyz(24.8795, 13.0163, 55.8342)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2DC8 #5AC82D
analogous
#4E2DC8 #9B2DC8 #C82DA7
triadic
#9B2DC8 #C89B2D #2DC89B
tetradic
#9B2DC8 #C84E2D #5AC82D #2DA7C8
square
#9B2DC8 #C84E2D #5AC82D #2DA7C8
split-complementary
#9B2DC8 #A7C82D #2DC84E
monochromatic
#4E1764 #742296 #9B2DC8 #B459DA #CB8BE5

Accessibility & contrast

On white

5.83
#9B2DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#9B2DC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2DC8
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2DC8#FFFFFF#000000##FFFFFF
##9B2DC81.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCC
Deuteranopia (green-blind)
#1C67C5
Tritanopia (blue-blind)
#96527A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9b2dc8;
/* rgb */ color: rgb(155, 45, 200);
/* oklch */ color: oklch(53.7% 0.229 313.6);
Tailwind
colors: {
  custom: {
    50: '#bd73da',
    500: '#9b2dc8',
    950: '#000000',
  },
}
SCSS
$custom: #9b2dc8;
$custom-light: #bd73da;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2dc8",
  "rgb": {
    "r": 155,
    "g": 45,
    "b": 200
  },
  "hsl": {
    "h": 282.581,
    "s": 63.265,
    "l": 48.039
  },
  "oklch": {
    "l": 0.53665,
    "c": 0.22926,
    "h": 313.6
  },
  "luminance": 0.13015
}

Semantic roles & 50–950 ramp

primary
#9B2DC8
secondary
#98CF82
accent
#E64171
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9B2DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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