#8F22A9#8F22A9

#8F22A9 is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 48.9% C 0.209 H 318.8°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#8F22A9
RGBrgb(143, 34, 169)
HSLhsl(288, 67%, 40%)
HSVhsv(288, 80%, 66%)
CMYKcmyk(15.4%, 79.9%, 0%, 33.7%)
CIE-LABlab(37.57, 61.76, -48.97)
CIE-LCHlch(37.57, 78.82, 321.59°)
OKLaboklab(48.94% 0.1572 -0.1377)
OKLCHoklch(48.94% 0.209 318.8)
XYZxyz(19.0602, 9.8492, 38.4255)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F22A9 #3CA922
analogous
#4B22A9 #8F22A9 #A92280
triadic
#8F22A9 #A98F22 #22A98F
tetradic
#8F22A9 #A94B22 #3CA922 #2280A9
square
#8F22A9 #A94B22 #3CA922 #2280A9
split-complementary
#8F22A9 #80A922 #22A94B
monochromatic
#390D43 #641876 #8F22A9 #B632D6 #C865E0

Accessibility & contrast

On white

7.07
#8F22A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#8F22A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F22A9
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F22A9#FFFFFF#000000##FFFFFF
##8F22A91.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AD
Deuteranopia (green-blind)
#2B5CA6
Tritanopia (blue-blind)
#8F4066
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8f22a9;
/* rgb */ color: rgb(143, 34, 169);
/* oklch */ color: oklch(48.9% 0.209 318.8);
Tailwind
colors: {
  custom: {
    50: '#b46bc3',
    500: '#8f22a9',
    950: '#000000',
  },
}
SCSS
$custom: #8f22a9;
$custom-light: #b46bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f22a9",
  "rgb": {
    "r": 143,
    "g": 34,
    "b": 169
  },
  "hsl": {
    "h": 288.444,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4894,
    "c": 0.20898,
    "h": 318.8
  },
  "luminance": 0.09848
}

Semantic roles & 50–950 ramp

primary
#8F22A9
secondary
#75C561
accent
#E93E5F
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120713
muted
#817A82

Preview Lab

Preview with #8F22A9

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

Preview Lab → · Contrast checker → · Palette generator →

#8F22A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva