#9A2BB2#9A2BB2

#9A2BB2 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.8% C 0.212 H 319.7°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#9A2BB2
RGBrgb(154, 43, 178)
HSLhsl(289, 61%, 43%)
HSVhsv(289, 76%, 70%)
CMYKcmyk(13.5%, 75.8%, 0%, 30.2%)
CIE-LABlab(40.92, 62.70, -48.85)
CIE-LCHlch(40.92, 79.49, 322.08°)
OKLaboklab(51.84% 0.1618 -0.1371)
OKLCHoklch(51.84% 0.212 319.7)
XYZxyz(22.2252, 11.8133, 43.2204)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2BB2 #43B22B
analogous
#562BB2 #9A2BB2 #B22B86
triadic
#9A2BB2 #B29A2B #2BB29A
tetradic
#9A2BB2 #B2562B #43B22B #2B86B2
square
#9A2BB2 #B2562B #43B22B #2B86B2
split-complementary
#9A2BB2 #86B22B #2BB256
monochromatic
#45134F #6F1F81 #9A2BB2 #BA48D3 #CC79DF

Accessibility & contrast

On white

6.25
#9A2BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#9A2BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2BB2
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2BB2#FFFFFF#000000##FFFFFF
##9A2BB21.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#3764AF
Tritanopia (blue-blind)
#9A476D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9a2bb2;
/* rgb */ color: rgb(154, 43, 178);
/* oklch */ color: oklch(51.8% 0.212 319.7);
Tailwind
colors: {
  custom: {
    50: '#bc71ca',
    500: '#9a2bb2',
    950: '#000000',
  },
}
SCSS
$custom: #9a2bb2;
$custom-light: #bc71ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2bb2",
  "rgb": {
    "r": 154,
    "g": 43,
    "b": 178
  },
  "hsl": {
    "h": 289.333,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51843,
    "c": 0.21202,
    "h": 319.7
  },
  "luminance": 0.11812
}

Semantic roles & 50–950 ramp

primary
#9A2BB2
secondary
#81C772
accent
#E44460
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9A2BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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