#8F2CB6#8F2CB6

#8F2CB6 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.7% C 0.210 H 314.2°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#8F2CB6
RGBrgb(143, 44, 182)
HSLhsl(283, 61%, 44%)
HSVhsv(283, 76%, 71%)
CMYKcmyk(21.4%, 75.8%, 0%, 28.6%)
CIE-LABlab(39.61, 60.97, -53.41)
CIE-LCHlch(39.61, 81.05, 318.78°)
OKLaboklab(50.67% 0.1468 -0.1508)
OKLCHoklch(50.67% 0.21 314.2)
XYZxyz(20.6704, 11.0191, 45.2850)
Luminance0.1102 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2CB6 #53B62C
analogous
#4A2CB6 #8F2CB6 #B62C98
triadic
#8F2CB6 #B68F2C #2CB68F
tetradic
#8F2CB6 #B64A2C #53B62C #2C98B6
square
#8F2CB6 #B64A2C #53B62C #2C98B6
split-complementary
#8F2CB6 #98B62C #2CB64A
monochromatic
#421453 #682085 #8F2CB6 #AD4CD4 #C47DE0

Accessibility & contrast

On white

6.56
#8F2CB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#8F2CB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2CB6
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2CB6#FFFFFF#000000##FFFFFF
##8F2CB61.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BA
Deuteranopia (green-blind)
#2260B3
Tritanopia (blue-blind)
#8B4B70
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8f2cb6;
/* rgb */ color: rgb(143, 44, 182);
/* oklch */ color: oklch(50.7% 0.210 314.2);
Tailwind
colors: {
  custom: {
    50: '#b470cd',
    500: '#8f2cb6',
    950: '#000000',
  },
}
SCSS
$custom: #8f2cb6;
$custom-light: #b470cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2cb6",
  "rgb": {
    "r": 143,
    "g": 44,
    "b": 182
  },
  "hsl": {
    "h": 283.043,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50665,
    "c": 0.21043,
    "h": 314.2
  },
  "luminance": 0.11018
}

Semantic roles & 50–950 ramp

primary
#8F2CB6
secondary
#8DC876
accent
#E44471
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #8F2CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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