#9A2BBD#9A2BBD

#9A2BBD is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.6% C 0.221 H 316.4°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#9A2BBD
RGBrgb(154, 43, 189)
HSLhsl(286, 63%, 45%)
HSVhsv(286, 77%, 74%)
CMYKcmyk(18.5%, 77.2%, 0%, 25.9%)
CIE-LABlab(41.65, 64.78, -54.16)
CIE-LCHlch(41.65, 84.44, 320.10°)
OKLaboklab(52.59% 0.1603 -0.1526)
OKLCHoklch(52.59% 0.221 316.4)
XYZxyz(23.3742, 12.2729, 49.2719)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2BBD #4EBD2B
analogous
#512BBD #9A2BBD #BD2B97
triadic
#9A2BBD #BD9A2B #2BBD9A
tetradic
#9A2BBD #BD512B #4EBD2B #2B97BD
square
#9A2BBD #BD512B #4EBD2B #2B97BD
split-complementary
#9A2BBD #97BD2B #2BBD51
monochromatic
#491459 #71208B #9A2BBD #B64ED7 #CB80E2

Accessibility & contrast

On white

6.08
#9A2BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#9A2BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2BBD
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2BBD#FFFFFF#000000##FFFFFF
##9A2BBD1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC1
Deuteranopia (green-blind)
#2A65BA
Tritanopia (blue-blind)
#984C73
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9a2bbd;
/* rgb */ color: rgb(154, 43, 189);
/* oklch */ color: oklch(52.6% 0.221 316.4);
Tailwind
colors: {
  custom: {
    50: '#bc71d2',
    500: '#9a2bbd',
    950: '#000000',
  },
}
SCSS
$custom: #9a2bbd;
$custom-light: #bc71d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2bbd",
  "rgb": {
    "r": 154,
    "g": 43,
    "b": 189
  },
  "hsl": {
    "h": 285.616,
    "s": 62.931,
    "l": 45.49
  },
  "oklch": {
    "l": 0.5259,
    "c": 0.22137,
    "h": 316.4
  },
  "luminance": 0.12272
}

Semantic roles & 50–950 ramp

primary
#9A2BBD
secondary
#8DCB79
accent
#E64269
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9A2BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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