#9A2CC8#9A2CC8

#9A2CC8 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.4% C 0.230 H 313.3°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#9A2CC8
RGBrgb(154, 44, 200)
HSLhsl(282, 64%, 48%)
HSVhsv(282, 78%, 78%)
CMYKcmyk(23%, 78%, 0%, 21.6%)
CIE-LABlab(42.52, 66.60, -59.16)
CIE-LCHlch(42.52, 89.08, 318.39°)
OKLaboklab(53.45% 0.1576 -0.1673)
OKLCHoklch(53.45% 0.23 313.3)
XYZxyz(24.6506, 12.8423, 55.8127)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2CC8 #5AC82C
analogous
#4C2CC8 #9A2CC8 #C82CA8
triadic
#9A2CC8 #C89A2C #2CC89A
tetradic
#9A2CC8 #C84C2C #5AC82C #2CA8C8
square
#9A2CC8 #C84C2C #5AC82C #2CA8C8
split-complementary
#9A2CC8 #A8C82C #2CC84C
monochromatic
#4D1664 #732196 #9A2CC8 #B357DA #CA89E5

Accessibility & contrast

On white

5.88
#9A2CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#9A2CC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2CC8
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2CC8#FFFFFF#000000##FFFFFF
##9A2CC81.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCC
Deuteranopia (green-blind)
#1767C5
Tritanopia (blue-blind)
#95527A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9a2cc8;
/* rgb */ color: rgb(154, 44, 200);
/* oklch */ color: oklch(53.4% 0.230 313.3);
Tailwind
colors: {
  custom: {
    50: '#bd72da',
    500: '#9a2cc8',
    950: '#000000',
  },
}
SCSS
$custom: #9a2cc8;
$custom-light: #bd72da;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2cc8",
  "rgb": {
    "r": 154,
    "g": 44,
    "b": 200
  },
  "hsl": {
    "h": 282.308,
    "s": 63.934,
    "l": 47.843
  },
  "oklch": {
    "l": 0.5345,
    "c": 0.22989,
    "h": 313.3
  },
  "luminance": 0.12842
}

Semantic roles & 50–950 ramp

primary
#9A2CC8
secondary
#98CF81
accent
#E74172
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9A2CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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