#8F22B0#8F22B0

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

Color values

HEX#8F22B0
RGBrgb(143, 34, 176)
HSLhsl(286, 68%, 41%)
HSVhsv(286, 81%, 69%)
CMYKcmyk(18.7%, 80.7%, 0%, 31%)
CIE-LABlab(38.06, 63.08, -52.37)
CIE-LCHlch(38.06, 81.98, 320.30°)
OKLaboklab(49.44% 0.156 -0.1477)
OKLCHoklch(49.44% 0.215 316.6)
XYZxyz(19.7350, 10.1191, 41.9795)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F22B0 #43B022
analogous
#4822B0 #8F22B0 #B0228A
triadic
#8F22B0 #B08F22 #22B08F
tetradic
#8F22B0 #B04822 #43B022 #228AB0
square
#8F22B0 #B04822 #43B022 #228AB0
split-complementary
#8F22B0 #8AB022 #22B048
monochromatic
#3C0E49 #65187D #8F22B0 #B337D8 #C66AE2

Accessibility & contrast

On white

6.95
#8F22B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F22B0
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F22B0#FFFFFF#000000##FFFFFF
##8F22B01.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B4
Deuteranopia (green-blind)
#225DAD
Tritanopia (blue-blind)
#8D446A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8f22b0;
/* rgb */ color: rgb(143, 34, 176);
/* oklch */ color: oklch(49.4% 0.215 316.6);
Tailwind
colors: {
  custom: {
    50: '#b46cc8',
    500: '#8f22b0',
    950: '#000000',
  },
}
SCSS
$custom: #8f22b0;
$custom-light: #b46cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f22b0",
  "rgb": {
    "r": 143,
    "g": 34,
    "b": 176
  },
  "hsl": {
    "h": 286.056,
    "s": 67.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49435,
    "c": 0.21484,
    "h": 316.6
  },
  "luminance": 0.10118
}

Semantic roles & 50–950 ramp

primary
#8F22B0
secondary
#7DC866
accent
#EA3D66
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120813
muted
#817A82

Preview Lab

Preview with #8F22B0

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

Preview Lab → · Contrast checker → · Palette generator →

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