#9A2BC2#9A2BC2

#9A2BC2 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.9% C 0.226 H 315.0°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#9A2BC2
RGBrgb(154, 43, 194)
HSLhsl(284, 64%, 46%)
HSVhsv(284, 78%, 76%)
CMYKcmyk(20.6%, 77.8%, 0%, 23.9%)
CIE-LABlab(41.99, 65.75, -56.53)
CIE-LCHlch(41.99, 86.71, 319.31°)
OKLaboklab(52.94% 0.1595 -0.1596)
OKLCHoklch(52.94% 0.226 315)
XYZxyz(23.9263, 12.4937, 52.1797)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2BC2 #53C22B
analogous
#4F2BC2 #9A2BC2 #C22B9F
triadic
#9A2BC2 #C29A2B #2BC29A
tetradic
#9A2BC2 #C24F2B #53C22B #2B9FC2
square
#9A2BC2 #C24F2B #53C22B #2B9FC2
split-complementary
#9A2BC2 #9FC22B #2BC24F
monochromatic
#4A155E #722090 #9A2BC2 #B552D9 #CA84E4

Accessibility & contrast

On white

6.00
#9A2BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9A2BC2
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2BC2#FFFFFF#000000##FFFFFF
##9A2BC21.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a2bc2;
/* rgb */ color: rgb(154, 43, 194);
/* oklch */ color: oklch(52.9% 0.226 315.0);
Tailwind
colors: {
  custom: {
    50: '#bc71d5',
    500: '#9a2bc2',
    950: '#000000',
  },
}
SCSS
$custom: #9a2bc2;
$custom-light: #bc71d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2bc2",
  "rgb": {
    "r": 154,
    "g": 43,
    "b": 194
  },
  "hsl": {
    "h": 284.106,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.52941,
    "c": 0.22565,
    "h": 315
  },
  "luminance": 0.12493
}

Semantic roles & 50–950 ramp

primary
#9A2BC2
secondary
#91CD7C
accent
#E7416D
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9A2BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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