#9A2CBE#9A2CBE

#9A2CBE is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.7% C 0.221 H 316.1°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#9A2CBE
RGBrgb(154, 44, 190)
HSLhsl(285, 62%, 46%)
HSVhsv(285, 77%, 75%)
CMYKcmyk(18.9%, 76.8%, 0%, 25.5%)
CIE-LABlab(41.83, 64.64, -54.45)
CIE-LCHlch(41.83, 84.52, 319.89°)
OKLaboklab(52.74% 0.1593 -0.1535)
OKLCHoklch(52.74% 0.221 316.1)
XYZxyz(23.5199, 12.3900, 49.8578)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2CBE #50BE2C
analogous
#512CBE #9A2CBE #BE2C99
triadic
#9A2CBE #BE9A2C #2CBE9A
tetradic
#9A2CBE #BE512C #50BE2C #2C99BE
square
#9A2CBE #BE512C #50BE2C #2C99BE
split-complementary
#9A2CBE #99BE2C #2CBE51
monochromatic
#49155B #72208C #9A2CBE #B651D7 #CA82E2

Accessibility & contrast

On white

6.04
#9A2CBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#9A2CBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2CBE
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2CBE#FFFFFF#000000##FFFFFF
##9A2CBE1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC2
Deuteranopia (green-blind)
#2A66BB
Tritanopia (blue-blind)
#984D74
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9a2cbe;
/* rgb */ color: rgb(154, 44, 190);
/* oklch */ color: oklch(52.7% 0.221 316.1);
Tailwind
colors: {
  custom: {
    50: '#bc72d2',
    500: '#9a2cbe',
    950: '#000000',
  },
}
SCSS
$custom: #9a2cbe;
$custom-light: #bc72d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2cbe",
  "rgb": {
    "r": 154,
    "g": 44,
    "b": 190
  },
  "hsl": {
    "h": 285.205,
    "s": 62.393,
    "l": 45.882
  },
  "oklch": {
    "l": 0.5274,
    "c": 0.22124,
    "h": 316.1
  },
  "luminance": 0.12389
}

Semantic roles & 50–950 ramp

primary
#9A2CBE
secondary
#8FCB7B
accent
#E5426B
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9A2CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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