#8F22B3#8F22B3

#8F22B3 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.7% C 0.217 H 315.7°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#8F22B3
RGBrgb(143, 34, 179)
HSLhsl(285, 68%, 42%)
HSVhsv(285, 81%, 70%)
CMYKcmyk(20.1%, 81%, 0%, 29.8%)
CIE-LABlab(38.27, 63.65, -53.80)
CIE-LCHlch(38.27, 83.35, 319.79°)
OKLaboklab(49.65% 0.1555 -0.1519)
OKLCHoklch(49.65% 0.217 315.7)
XYZxyz(20.0351, 10.2392, 43.5601)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F22B3 #46B322
analogous
#4622B3 #8F22B3 #B3228F
triadic
#8F22B3 #B38F22 #22B38F
tetradic
#8F22B3 #B34622 #46B322 #228FB3
square
#8F22B3 #B34622 #46B322 #228FB3
split-complementary
#8F22B3 #8FB322 #22B346
monochromatic
#3D0E4C #661880 #8F22B3 #B239D9 #C66CE3

Accessibility & contrast

On white

6.89
#8F22B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8F22B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F22B3
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F22B3#FFFFFF#000000##FFFFFF
##8F22B31.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B7
Deuteranopia (green-blind)
#1C5DB0
Tritanopia (blue-blind)
#8C456C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8f22b3;
/* rgb */ color: rgb(143, 34, 179);
/* oklch */ color: oklch(49.7% 0.217 315.7);
Tailwind
colors: {
  custom: {
    50: '#b46ccb',
    500: '#8f22b3',
    950: '#000000',
  },
}
SCSS
$custom: #8f22b3;
$custom-light: #b46ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f22b3",
  "rgb": {
    "r": 143,
    "g": 34,
    "b": 179
  },
  "hsl": {
    "h": 285.103,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49652,
    "c": 0.21737,
    "h": 315.7
  },
  "luminance": 0.10238
}

Semantic roles & 50–950 ramp

primary
#8F22B3
secondary
#80C968
accent
#EB3D68
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120813
muted
#817A82

Preview Lab

Preview with #8F22B3

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

Preview Lab → · Contrast checker → · Palette generator →

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