#9A2CB3#9A2CB3

#9A2CB3 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.0% C 0.212 H 319.4°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#9A2CB3
RGBrgb(154, 44, 179)
HSLhsl(289, 61%, 44%)
HSVhsv(289, 75%, 70%)
CMYKcmyk(14%, 75.4%, 0%, 29.8%)
CIE-LABlab(41.10, 62.55, -49.15)
CIE-LCHlch(41.10, 79.55, 321.84°)
OKLaboklab(51.99% 0.1608 -0.138)
OKLCHoklch(51.99% 0.212 319.4)
XYZxyz(22.3627, 11.9272, 43.7633)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2CB3 #45B32C
analogous
#562CB3 #9A2CB3 #B32C88
triadic
#9A2CB3 #B39A2C #2CB39A
tetradic
#9A2CB3 #B3562C #45B32C #2C88B3
square
#9A2CB3 #B3562C #45B32C #2C88B3
split-complementary
#9A2CB3 #88B32C #2CB356
monochromatic
#451451 #702082 #9A2CB3 #B94AD2 #CC7BDF

Accessibility & contrast

On white

6.20
#9A2CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#9A2CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2CB3
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2CB3#FFFFFF#000000##FFFFFF
##9A2CB31.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB7
Deuteranopia (green-blind)
#3765B0
Tritanopia (blue-blind)
#9A486E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9a2cb3;
/* rgb */ color: rgb(154, 44, 179);
/* oklch */ color: oklch(52.0% 0.212 319.4);
Tailwind
colors: {
  custom: {
    50: '#bc71ca',
    500: '#9a2cb3',
    950: '#000000',
  },
}
SCSS
$custom: #9a2cb3;
$custom-light: #bc71ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2cb3",
  "rgb": {
    "r": 154,
    "g": 44,
    "b": 179
  },
  "hsl": {
    "h": 288.889,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51992,
    "c": 0.21183,
    "h": 319.4
  },
  "luminance": 0.11926
}

Semantic roles & 50–950 ramp

primary
#9A2CB3
secondary
#83C774
accent
#E44462
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9A2CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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