#9A219E#9A219E

#9A219E is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.8% C 0.206 H 326.7°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#9A219E
RGBrgb(154, 33, 158)
HSLhsl(298, 65%, 37%)
HSVhsv(298, 79%, 62%)
CMYKcmyk(2.5%, 79.1%, 0%, 38%)
CIE-LABlab(38.60, 62.26, -40.61)
CIE-LCHlch(38.60, 74.33, 326.88°)
OKLaboklab(49.8% 0.1718 -0.1129)
OKLCHoklch(49.8% 0.206 326.7)
XYZxyz(20.0415, 10.4278, 33.2983)
Luminance0.1043 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A219E #259E21
analogous
#5C219E #9A219E #9E2164
triadic
#9A219E #9E9A21 #219E9A
tetradic
#9A219E #9E5C21 #259E21 #21649E
square
#9A219E #9E5C21 #259E21 #21649E
split-complementary
#9A219E #649E21 #219E5C
monochromatic
#370C39 #69166B #9A219E #CB2CD1 #D95CDD

Accessibility & contrast

On white

6.81
#9A219E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9A219E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A219E
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A219E#FFFFFF#000000##FFFFFF
##9A219E1.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A1
Deuteranopia (green-blind)
#42609B
Tritanopia (blue-blind)
#9E3860
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9a219e;
/* rgb */ color: rgb(154, 33, 158);
/* oklch */ color: oklch(49.8% 0.206 326.7);
Tailwind
colors: {
  custom: {
    50: '#bc6cbb',
    500: '#9a219e',
    950: '#000000',
  },
}
SCSS
$custom: #9a219e;
$custom-light: #bc6cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#9a219e",
  "rgb": {
    "r": 154,
    "g": 33,
    "b": 158
  },
  "hsl": {
    "h": 298.08,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49799,
    "c": 0.20557,
    "h": 326.7
  },
  "luminance": 0.10426
}

Semantic roles & 50–950 ramp

primary
#9A219E
secondary
#5DC159
accent
#E83F45
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #9A219E

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

Preview Lab → · Contrast checker → · Palette generator →

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