#9B2AC2#9B2AC2

#9B2AC2 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 53.0% C 0.227 H 315.4°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#9B2AC2
RGBrgb(155, 42, 194)
HSLhsl(285, 64%, 46%)
HSVhsv(285, 78%, 76%)
CMYKcmyk(20.1%, 78.4%, 0%, 23.9%)
CIE-LABlab(42.03, 66.25, -56.45)
CIE-LCHlch(42.03, 87.04, 319.57°)
OKLaboklab(53% 0.1616 -0.1593)
OKLCHoklch(53% 0.227 315.4)
XYZxyz(24.0816, 12.5205, 52.1766)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2AC2 #51C22A
analogous
#4F2AC2 #9B2AC2 #C22A9D
triadic
#9B2AC2 #C29B2A #2AC29B
tetradic
#9B2AC2 #C24F2A #51C22A #2A9DC2
square
#9B2AC2 #C24F2A #51C22A #2A9DC2
split-complementary
#9B2AC2 #9DC22A #2AC24F
monochromatic
#4B145D #731F90 #9B2AC2 #B650D9 #CB82E4

Accessibility & contrast

On white

5.99
#9B2AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#9B2AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2AC2
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2AC2#FFFFFF#000000##FFFFFF
##9B2AC21.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#2466BF
Tritanopia (blue-blind)
#984E76
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9b2ac2;
/* rgb */ color: rgb(155, 42, 194);
/* oklch */ color: oklch(53.0% 0.227 315.4);
Tailwind
colors: {
  custom: {
    50: '#bd71d5',
    500: '#9b2ac2',
    950: '#000000',
  },
}
SCSS
$custom: #9b2ac2;
$custom-light: #bd71d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2ac2",
  "rgb": {
    "r": 155,
    "g": 42,
    "b": 194
  },
  "hsl": {
    "h": 284.605,
    "s": 64.407,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53,
    "c": 0.22692,
    "h": 315.4
  },
  "luminance": 0.1252
}

Semantic roles & 50–950 ramp

primary
#9B2AC2
secondary
#90CD7B
accent
#E7406B
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9B2AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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