#9A2CB1#9A2CB1

#9A2CB1 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.9% C 0.210 H 320.0°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#9A2CB1
RGBrgb(154, 44, 177)
HSLhsl(290, 60%, 43%)
HSVhsv(290, 75%, 69%)
CMYKcmyk(13%, 75.1%, 0%, 30.6%)
CIE-LABlab(40.97, 62.18, -48.17)
CIE-LCHlch(40.97, 78.66, 322.23°)
OKLaboklab(51.86% 0.161 -0.1351)
OKLCHoklch(51.86% 0.21 320)
XYZxyz(22.1619, 11.8468, 42.7058)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2CB1 #43B12C
analogous
#572CB1 #9A2CB1 #B12C85
triadic
#9A2CB1 #B19A2C #2CB19A
tetradic
#9A2CB1 #B1572C #43B12C #2C85B1
square
#9A2CB1 #B1572C #43B12C #2C85B1
split-complementary
#9A2CB1 #85B12C #2CB157
monochromatic
#45144F #6F2080 #9A2CB1 #BA49D2 #CC7ADE

Accessibility & contrast

On white

6.23
#9A2CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#9A2CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2CB1
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2CB1#FFFFFF#000000##FFFFFF
##9A2CB11.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B5
Deuteranopia (green-blind)
#3864AE
Tritanopia (blue-blind)
#9A476D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9a2cb1;
/* rgb */ color: rgb(154, 44, 177);
/* oklch */ color: oklch(51.9% 0.210 320.0);
Tailwind
colors: {
  custom: {
    50: '#bc71c9',
    500: '#9a2cb1',
    950: '#000000',
  },
}
SCSS
$custom: #9a2cb1;
$custom-light: #bc71c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2cb1",
  "rgb": {
    "r": 154,
    "g": 44,
    "b": 177
  },
  "hsl": {
    "h": 289.624,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.5186,
    "c": 0.21014,
    "h": 320
  },
  "luminance": 0.11846
}

Semantic roles & 50–950 ramp

primary
#9A2CB1
secondary
#81C673
accent
#E34460
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9A2CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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