#9A2BCA#9A2BCA

#9A2BCA is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.5% C 0.233 H 312.8°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#9A2BCA
RGBrgb(154, 43, 202)
HSLhsl(282, 65%, 48%)
HSVhsv(282, 79%, 79%)
CMYKcmyk(23.8%, 78.7%, 0%, 20.8%)
CIE-LABlab(42.56, 67.32, -60.27)
CIE-LCHlch(42.56, 90.35, 318.16°)
OKLaboklab(53.52% 0.158 -0.1706)
OKLCHoklch(53.52% 0.233 312.8)
XYZxyz(24.8490, 12.8628, 57.0395)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2BCA #5BCA2B
analogous
#4B2BCA #9A2BCA #CA2BAA
triadic
#9A2BCA #CA9A2B #2BCA9A
tetradic
#9A2BCA #CA4B2B #5BCA2B #2BAACA
square
#9A2BCA #CA4B2B #5BCA2B #2BAACA
split-complementary
#9A2BCA #AACA2B #2BCA4B
monochromatic
#4D1665 #742098 #9A2BCA #B357DB #CA89E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A2BCA#FFFFFF#000000##FFFFFF
##9A2BCA1.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)
#005FCE
Deuteranopia (green-blind)
#0F67C7
Tritanopia (blue-blind)
#94527B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9a2bca;
/* rgb */ color: rgb(154, 43, 202);
/* oklch */ color: oklch(53.5% 0.233 312.8);
Tailwind
colors: {
  custom: {
    50: '#bd72db',
    500: '#9a2bca',
    950: '#000000',
  },
}
SCSS
$custom: #9a2bca;
$custom-light: #bd72db;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2bca",
  "rgb": {
    "r": 154,
    "g": 43,
    "b": 202
  },
  "hsl": {
    "h": 281.887,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.53516,
    "c": 0.23255,
    "h": 312.8
  },
  "luminance": 0.12862
}

Semantic roles & 50–950 ramp

primary
#9A2BCA
secondary
#99D081
accent
#E84073
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9A2BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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