#9B2ACA#9B2ACA

#9B2ACA is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.6% C 0.234 H 313.2°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#9B2ACA
RGBrgb(155, 42, 202)
HSLhsl(282, 66%, 48%)
HSVhsv(282, 79%, 79%)
CMYKcmyk(23.3%, 79.2%, 0%, 20.8%)
CIE-LABlab(42.60, 67.81, -60.19)
CIE-LCHlch(42.60, 90.67, 318.40°)
OKLaboklab(53.58% 0.1601 -0.1703)
OKLCHoklch(53.58% 0.234 313.2)
XYZxyz(25.0043, 12.8896, 57.0364)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2ACA #59CA2A
analogous
#4B2ACA #9B2ACA #CA2AA9
triadic
#9B2ACA #CA9B2A #2ACA9B
tetradic
#9B2ACA #CA4B2A #59CA2A #2AA9CA
square
#9B2ACA #CA4B2A #59CA2A #2AA9CA
split-complementary
#9B2ACA #A9CA2A #2ACA4B
monochromatic
#4D1565 #741F97 #9B2ACA #B455DC #CB88E6

Accessibility & contrast

On white

5.87
#9B2ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#9B2ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2ACA
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2ACA#FFFFFF#000000##FFFFFF
##9B2ACA1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#1167C7
Tritanopia (blue-blind)
#96517B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9b2aca;
/* rgb */ color: rgb(155, 42, 202);
/* oklch */ color: oklch(53.6% 0.234 313.2);
Tailwind
colors: {
  custom: {
    50: '#be71db',
    500: '#9b2aca',
    950: '#000000',
  },
}
SCSS
$custom: #9b2aca;
$custom-light: #be71db;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2aca",
  "rgb": {
    "r": 155,
    "g": 42,
    "b": 202
  },
  "hsl": {
    "h": 282.375,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.53575,
    "c": 0.23375,
    "h": 313.2
  },
  "luminance": 0.12889
}

Semantic roles & 50–950 ramp

primary
#9B2ACA
secondary
#97D080
accent
#E93F71
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9B2ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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