#9B2AC4#9B2AC4

#9B2AC4 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.1% C 0.229 H 314.8°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#9B2AC4
RGBrgb(155, 42, 196)
HSLhsl(284, 65%, 47%)
HSVhsv(284, 79%, 77%)
CMYKcmyk(20.9%, 78.6%, 0%, 23.1%)
CIE-LABlab(42.17, 66.64, -57.39)
CIE-LCHlch(42.17, 87.95, 319.26°)
OKLaboklab(53.14% 0.1612 -0.1621)
OKLCHoklch(53.14% 0.229 314.8)
XYZxyz(24.3077, 12.6109, 53.3676)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2AC4 #53C42A
analogous
#4E2AC4 #9B2AC4 #C42AA0
triadic
#9B2AC4 #C49B2A #2AC49B
tetradic
#9B2AC4 #C44E2A #53C42A #2AA0C4
square
#9B2AC4 #C44E2A #53C42A #2AA0C4
split-complementary
#9B2AC4 #A0C42A #2AC44E
monochromatic
#4B145F #731F92 #9B2AC4 #B551DA #CB84E5

Accessibility & contrast

On white

5.96
#9B2AC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#9B2AC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2AC4
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2AC4#FFFFFF#000000##FFFFFF
##9B2AC41.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC8
Deuteranopia (green-blind)
#2066C1
Tritanopia (blue-blind)
#974F77
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9b2ac4;
/* rgb */ color: rgb(155, 42, 196);
/* oklch */ color: oklch(53.1% 0.229 314.8);
Tailwind
colors: {
  custom: {
    50: '#bd71d7',
    500: '#9b2ac4',
    950: '#000000',
  },
}
SCSS
$custom: #9b2ac4;
$custom-light: #bd71d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2ac4",
  "rgb": {
    "r": 155,
    "g": 42,
    "b": 196
  },
  "hsl": {
    "h": 284.026,
    "s": 64.706,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53142,
    "c": 0.22863,
    "h": 314.8
  },
  "luminance": 0.1261
}

Semantic roles & 50–950 ramp

primary
#9B2AC4
secondary
#92CE7C
accent
#E8406D
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9B2AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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