#8F22BD#8F22BD

#8F22BD is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.4% C 0.226 H 312.8°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#8F22BD
RGBrgb(143, 34, 189)
HSLhsl(282, 70%, 44%)
HSVhsv(282, 82%, 74%)
CMYKcmyk(24.3%, 82%, 0%, 25.9%)
CIE-LABlab(39.00, 65.61, -58.52)
CIE-LCHlch(39.00, 87.91, 318.27°)
OKLaboklab(50.39% 0.1534 -0.1658)
OKLCHoklch(50.39% 0.226 312.8)
XYZxyz(21.0834, 10.6585, 49.0809)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F22BD #50BD22
analogous
#4222BD #8F22BD #BD229D
triadic
#8F22BD #BD8F22 #22BD8F
tetradic
#8F22BD #BD4222 #50BD22 #229DBD
square
#8F22BD #BD4222 #50BD22 #229DBD
split-complementary
#8F22BD #9DBD22 #22BD42
monochromatic
#410F55 #681989 #8F22BD #AE40DD #C473E6

Accessibility & contrast

On white

6.71
#8F22BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#8F22BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F22BD
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F22BD#FFFFFF#000000##FFFFFF
##8F22BD1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C1
Deuteranopia (green-blind)
#005EBA
Tritanopia (blue-blind)
#8A4A72
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8f22bd;
/* rgb */ color: rgb(143, 34, 189);
/* oklch */ color: oklch(50.4% 0.226 312.8);
Tailwind
colors: {
  custom: {
    50: '#b56cd2',
    500: '#8f22bd',
    950: '#000000',
  },
}
SCSS
$custom: #8f22bd;
$custom-light: #b56cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f22bd",
  "rgb": {
    "r": 143,
    "g": 34,
    "b": 189
  },
  "hsl": {
    "h": 282.194,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50393,
    "c": 0.22584,
    "h": 312.8
  },
  "luminance": 0.10658
}

Semantic roles & 50–950 ramp

primary
#8F22BD
secondary
#8ACD6E
accent
#EC3B70
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#120814
muted
#817A83

Preview Lab

Preview with #8F22BD

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

Preview Lab → · Contrast checker → · Palette generator →

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