#9A2CBB#9A2CBB

#9A2CBB is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.5% C 0.219 H 316.9°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#9A2CBB
RGBrgb(154, 44, 187)
HSLhsl(286, 62%, 45%)
HSVhsv(286, 76%, 73%)
CMYKcmyk(17.6%, 76.5%, 0%, 26.7%)
CIE-LABlab(41.63, 64.07, -53.02)
CIE-LCHlch(41.63, 83.16, 320.39°)
OKLaboklab(52.53% 0.1598 -0.1493)
OKLCHoklch(52.53% 0.219 316.9)
XYZxyz(23.1954, 12.2602, 48.1487)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2CBB #4DBB2C
analogous
#532CBB #9A2CBB #BB2C94
triadic
#9A2CBB #BB9A2C #2CBB9A
tetradic
#9A2CBB #BB532C #4DBB2C #2C94BB
square
#9A2CBB #BB532C #4DBB2C #2C94BB
split-complementary
#9A2CBB #94BB2C #2CBB53
monochromatic
#481558 #712089 #9A2CBB #B64FD6 #CB80E1

Accessibility & contrast

On white

6.08
#9A2CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#9A2CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2CBB
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2CBB#FFFFFF#000000##FFFFFF
##9A2CBB1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBF
Deuteranopia (green-blind)
#2E65B8
Tritanopia (blue-blind)
#984C73
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9a2cbb;
/* rgb */ color: rgb(154, 44, 187);
/* oklch */ color: oklch(52.5% 0.219 316.9);
Tailwind
colors: {
  custom: {
    50: '#bc71d0',
    500: '#9a2cbb',
    950: '#000000',
  },
}
SCSS
$custom: #9a2cbb;
$custom-light: #bc71d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2cbb",
  "rgb": {
    "r": 154,
    "g": 44,
    "b": 187
  },
  "hsl": {
    "h": 286.154,
    "s": 61.905,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52533,
    "c": 0.21867,
    "h": 316.9
  },
  "luminance": 0.12259
}

Semantic roles & 50–950 ramp

primary
#9A2CBB
secondary
#8CCA79
accent
#E54368
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9A2CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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