#8F22AF#8F22AF

#8F22AF is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.4% C 0.214 H 316.9°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#8F22AF
RGBrgb(143, 34, 175)
HSLhsl(286, 67%, 41%)
HSVhsv(286, 81%, 69%)
CMYKcmyk(18.3%, 80.6%, 0%, 31.4%)
CIE-LABlab(37.99, 62.89, -51.88)
CIE-LCHlch(37.99, 81.53, 320.48°)
OKLaboklab(49.36% 0.1562 -0.1463)
OKLCHoklch(49.36% 0.214 316.9)
XYZxyz(19.6364, 10.0797, 41.4604)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F22AF #42AF22
analogous
#4822AF #8F22AF #AF2288
triadic
#8F22AF #AF8F22 #22AF8F
tetradic
#8F22AF #AF4822 #42AF22 #2288AF
square
#8F22AF #AF4822 #42AF22 #2288AF
split-complementary
#8F22AF #88AF22 #22AF48
monochromatic
#3B0E49 #65187C #8F22AF #B336D8 #C769E2

Accessibility & contrast

On white

6.96
#8F22AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8F22AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F22AF
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F22AF#FFFFFF#000000##FFFFFF
##8F22AF1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#235CAC
Tritanopia (blue-blind)
#8D4369
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8f22af;
/* rgb */ color: rgb(143, 34, 175);
/* oklch */ color: oklch(49.4% 0.214 316.9);
Tailwind
colors: {
  custom: {
    50: '#b46bc8',
    500: '#8f22af',
    950: '#000000',
  },
}
SCSS
$custom: #8f22af;
$custom-light: #b46bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f22af",
  "rgb": {
    "r": 143,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 286.383,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49363,
    "c": 0.214,
    "h": 316.9
  },
  "luminance": 0.10079
}

Semantic roles & 50–950 ramp

primary
#8F22AF
secondary
#7BC865
accent
#EA3D65
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120813
muted
#817A82

Preview Lab

Preview with #8F22AF

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

Preview Lab → · Contrast checker → · Palette generator →

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