#8F22AE#8F22AE

#8F22AE is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.3% C 0.213 H 317.2°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#8F22AE
RGBrgb(143, 34, 174)
HSLhsl(287, 67%, 41%)
HSVhsv(287, 80%, 68%)
CMYKcmyk(17.8%, 80.5%, 0%, 31.8%)
CIE-LABlab(37.92, 62.70, -51.40)
CIE-LCHlch(37.92, 81.07, 320.65°)
OKLaboklab(49.29% 0.1564 -0.1448)
OKLCHoklch(49.29% 0.213 317.2)
XYZxyz(19.5386, 10.0406, 40.9450)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F22AE #41AE22
analogous
#4922AE #8F22AE #AE2287
triadic
#8F22AE #AE8F22 #22AE8F
tetradic
#8F22AE #AE4922 #41AE22 #2287AE
square
#8F22AE #AE4922 #41AE22 #2287AE
split-complementary
#8F22AE #87AE22 #22AE49
monochromatic
#3B0E48 #65187B #8F22AE #B436D8 #C769E2

Accessibility & contrast

On white

6.98
#8F22AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#8F22AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F22AE
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F22AE#FFFFFF#000000##FFFFFF
##8F22AE1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B2
Deuteranopia (green-blind)
#255CAB
Tritanopia (blue-blind)
#8D4369
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8f22ae;
/* rgb */ color: rgb(143, 34, 174);
/* oklch */ color: oklch(49.3% 0.213 317.2);
Tailwind
colors: {
  custom: {
    50: '#b46bc7',
    500: '#8f22ae',
    950: '#000000',
  },
}
SCSS
$custom: #8f22ae;
$custom-light: #b46bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f22ae",
  "rgb": {
    "r": 143,
    "g": 34,
    "b": 174
  },
  "hsl": {
    "h": 286.714,
    "s": 67.308,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49292,
    "c": 0.21316,
    "h": 317.2
  },
  "luminance": 0.1004
}

Semantic roles & 50–950 ramp

primary
#8F22AE
secondary
#7AC764
accent
#EA3E64
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120813
muted
#817A82

Preview Lab

Preview with #8F22AE

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

Preview Lab → · Contrast checker → · Palette generator →

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