#8F22BA#8F22BA

#8F22BA is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 50.2% C 0.223 H 313.6°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#8F22BA
RGBrgb(143, 34, 186)
HSLhsl(283, 69%, 43%)
HSVhsv(283, 82%, 73%)
CMYKcmyk(23.1%, 81.7%, 0%, 27.1%)
CIE-LABlab(38.78, 65.01, -57.12)
CIE-LCHlch(38.78, 86.54, 318.70°)
OKLaboklab(50.17% 0.154 -0.1616)
OKLCHoklch(50.17% 0.223 313.6)
XYZxyz(20.7611, 10.5296, 47.3836)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F22BA #4DBA22
analogous
#4322BA #8F22BA #BA2299
triadic
#8F22BA #BA8F22 #22BA8F
tetradic
#8F22BA #BA4322 #4DBA22 #2299BA
square
#8F22BA #BA4322 #4DBA22 #2299BA
split-complementary
#8F22BA #99BA22 #22BA43
monochromatic
#3F0F53 #671986 #8F22BA #AF3EDC #C471E5

Accessibility & contrast

On white

6.76
#8F22BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8F22BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F22BA
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F22BA#FFFFFF#000000##FFFFFF
##8F22BA1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BE
Deuteranopia (green-blind)
#095EB7
Tritanopia (blue-blind)
#8A4970
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8f22ba;
/* rgb */ color: rgb(143, 34, 186);
/* oklch */ color: oklch(50.2% 0.223 313.6);
Tailwind
colors: {
  custom: {
    50: '#b56cd0',
    500: '#8f22ba',
    950: '#000000',
  },
}
SCSS
$custom: #8f22ba;
$custom-light: #b56cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f22ba",
  "rgb": {
    "r": 143,
    "g": 34,
    "b": 186
  },
  "hsl": {
    "h": 283.026,
    "s": 69.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50167,
    "c": 0.22328,
    "h": 313.6
  },
  "luminance": 0.10529
}

Semantic roles & 50–950 ramp

primary
#8F22BA
secondary
#87CC6C
accent
#EC3C6E
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120814
muted
#817A82

Preview Lab

Preview with #8F22BA

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

Preview Lab → · Contrast checker → · Palette generator →

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