#8F22A0#8F22A0

#8F22A0 is a mid, highly saturated purple. Relative luminance 0.095; OKLCH L 48.3% C 0.202 H 321.8°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#8F22A0
RGBrgb(143, 34, 160)
HSLhsl(292, 65%, 38%)
HSVhsv(292, 79%, 63%)
CMYKcmyk(10.6%, 78.8%, 0%, 37.3%)
CIE-LABlab(36.97, 60.10, -44.53)
CIE-LCHlch(36.97, 74.79, 323.47°)
OKLaboklab(48.33% 0.1583 -0.1247)
OKLCHoklch(48.33% 0.202 321.8)
XYZxyz(18.2442, 9.5228, 34.1280)
Luminance0.0952 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F22A0 #33A022
analogous
#5022A0 #8F22A0 #A02272
triadic
#8F22A0 #A08F22 #22A08F
tetradic
#8F22A0 #A05022 #33A022 #2272A0
square
#8F22A0 #A05022 #33A022 #2272A0
split-complementary
#8F22A0 #72A022 #22A050
monochromatic
#350D3B #62176E #8F22A0 #BC2DD2 #CC5FDD

Accessibility & contrast

On white

7.23
#8F22A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8F22A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F22A0
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F22A0#FFFFFF#000000##FFFFFF
##8F22A01.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA3
Deuteranopia (green-blind)
#345B9D
Tritanopia (blue-blind)
#903C61
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8f22a0;
/* rgb */ color: rgb(143, 34, 160);
/* oklch */ color: oklch(48.3% 0.202 321.8);
Tailwind
colors: {
  custom: {
    50: '#b46bbd',
    500: '#8f22a0',
    950: '#000000',
  },
}
SCSS
$custom: #8f22a0;
$custom-light: #b46bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f22a0",
  "rgb": {
    "r": 143,
    "g": 34,
    "b": 160
  },
  "hsl": {
    "h": 291.905,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48327,
    "c": 0.20153,
    "h": 321.8
  },
  "luminance": 0.09522
}

Semantic roles & 50–950 ramp

primary
#8F22A0
secondary
#6AC25C
accent
#E84057
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #8F22A0

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

Preview Lab → · Contrast checker → · Palette generator →

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