#9A22BD#9A22BD

#9A22BD is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.9% C 0.229 H 316.8°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#9A22BD
RGBrgb(154, 34, 189)
HSLhsl(286, 70%, 44%)
HSVhsv(286, 82%, 74%)
CMYKcmyk(18.5%, 82%, 0%, 25.9%)
CIE-LABlab(40.72, 67.48, -55.66)
CIE-LCHlch(40.72, 87.47, 320.48°)
OKLaboklab(51.94% 0.1672 -0.157)
OKLCHoklch(51.94% 0.229 316.8)
XYZxyz(23.0824, 11.6892, 49.1746)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A22BD #45BD22
analogous
#4D22BD #9A22BD #BD2292
triadic
#9A22BD #BD9A22 #22BD9A
tetradic
#9A22BD #BD4D22 #45BD22 #2292BD
square
#9A22BD #BD4D22 #45BD22 #2292BD
split-complementary
#9A22BD #92BD22 #22BD4D
monochromatic
#450F55 #701989 #9A22BD #B940DD #CC73E6

Accessibility & contrast

On white

6.29
#9A22BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#9A22BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A22BD
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A22BD#FFFFFF#000000##FFFFFF
##9A22BD1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C1
Deuteranopia (green-blind)
#2363BA
Tritanopia (blue-blind)
#984872
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9a22bd;
/* rgb */ color: rgb(154, 34, 189);
/* oklch */ color: oklch(51.9% 0.229 316.8);
Tailwind
colors: {
  custom: {
    50: '#bd6ed2',
    500: '#9a22bd',
    950: '#000000',
  },
}
SCSS
$custom: #9a22bd;
$custom-light: #bd6ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a22bd",
  "rgb": {
    "r": 154,
    "g": 34,
    "b": 189
  },
  "hsl": {
    "h": 286.452,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51937,
    "c": 0.22934,
    "h": 316.8
  },
  "luminance": 0.11688
}

Semantic roles & 50–950 ramp

primary
#9A22BD
secondary
#83CD6E
accent
#EC3B63
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130814
muted
#827B83

Preview Lab

Preview with #9A22BD

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

Preview Lab → · Contrast checker → · Palette generator →

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