#9B2DC4#9B2DC4

#9B2DC4 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.4% C 0.226 H 314.7°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#9B2DC4
RGBrgb(155, 45, 196)
HSLhsl(284, 63%, 47%)
HSVhsv(284, 77%, 77%)
CMYKcmyk(20.9%, 77%, 0%, 23.1%)
CIE-LABlab(42.51, 65.66, -56.85)
CIE-LCHlch(42.51, 86.85, 319.11°)
OKLaboklab(53.38% 0.1588 -0.1605)
OKLCHoklch(53.38% 0.226 314.7)
XYZxyz(24.4181, 12.8317, 53.4044)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2DC4 #56C42D
analogous
#502DC4 #9B2DC4 #C42DA1
triadic
#9B2DC4 #C49B2D #2DC49B
tetradic
#9B2DC4 #C4502D #56C42D #2DA1C4
square
#9B2DC4 #C4502D #56C42D #2DA1C4
split-complementary
#9B2DC4 #A1C42D #2DC450
monochromatic
#4C1660 #742292 #9B2DC4 #B556D8 #CB88E4

Accessibility & contrast

On white

5.89
#9B2DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#9B2DC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2DC4
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2DC4#FFFFFF#000000##FFFFFF
##9B2DC41.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC8
Deuteranopia (green-blind)
#2367C1
Tritanopia (blue-blind)
#975078
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9b2dc4;
/* rgb */ color: rgb(155, 45, 196);
/* oklch */ color: oklch(53.4% 0.226 314.7);
Tailwind
colors: {
  custom: {
    50: '#bd72d7',
    500: '#9b2dc4',
    950: '#000000',
  },
}
SCSS
$custom: #9b2dc4;
$custom-light: #bd72d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2dc4",
  "rgb": {
    "r": 155,
    "g": 45,
    "b": 196
  },
  "hsl": {
    "h": 283.709,
    "s": 62.656,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5338,
    "c": 0.22578,
    "h": 314.7
  },
  "luminance": 0.12831
}

Semantic roles & 50–950 ramp

primary
#9B2DC4
secondary
#95CD80
accent
#E6426F
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9B2DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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