#8F22A6#8F22A6

#8F22A6 is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 48.7% C 0.206 H 319.8°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#8F22A6
RGBrgb(143, 34, 166)
HSLhsl(290, 66%, 39%)
HSVhsv(290, 80%, 65%)
CMYKcmyk(13.9%, 79.5%, 0%, 34.9%)
CIE-LABlab(37.37, 61.20, -47.50)
CIE-LCHlch(37.37, 77.47, 322.18°)
OKLaboklab(48.73% 0.1576 -0.1334)
OKLCHoklch(48.73% 0.206 319.8)
XYZxyz(18.7818, 9.7378, 36.9593)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F22A6 #39A622
analogous
#4D22A6 #8F22A6 #A6227B
triadic
#8F22A6 #A68F22 #22A68F
tetradic
#8F22A6 #A64D22 #39A622 #227BA6
square
#8F22A6 #A64D22 #39A622 #227BA6
split-complementary
#8F22A6 #7BA622 #22A64D
monochromatic
#370D40 #631873 #8F22A6 #B830D5 #CA63DF

Accessibility & contrast

On white

7.12
#8F22A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8F22A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F22A6
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F22A6#FFFFFF#000000##FFFFFF
##8F22A61.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A9
Deuteranopia (green-blind)
#2E5BA3
Tritanopia (blue-blind)
#8F3F64
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8f22a6;
/* rgb */ color: rgb(143, 34, 166);
/* oklch */ color: oklch(48.7% 0.206 319.8);
Tailwind
colors: {
  custom: {
    50: '#b46bc1',
    500: '#8f22a6',
    950: '#000000',
  },
}
SCSS
$custom: #8f22a6;
$custom-light: #b46bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f22a6",
  "rgb": {
    "r": 143,
    "g": 34,
    "b": 166
  },
  "hsl": {
    "h": 289.545,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48733,
    "c": 0.20649,
    "h": 319.8
  },
  "luminance": 0.09737
}

Semantic roles & 50–950 ramp

primary
#8F22A6
secondary
#71C45F
accent
#E93F5C
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #8F22A6

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

Preview Lab → · Contrast checker → · Palette generator →

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