#8F2EB6#8F2EB6

#8F2EB6 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.8% C 0.208 H 314.1°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#8F2EB6
RGBrgb(143, 46, 182)
HSLhsl(283, 60%, 45%)
HSVhsv(283, 75%, 71%)
CMYKcmyk(21.4%, 74.7%, 0%, 28.6%)
CIE-LABlab(39.87, 60.24, -52.99)
CIE-LCHlch(39.87, 80.23, 318.66°)
OKLaboklab(50.85% 0.145 -0.1496)
OKLCHoklch(50.85% 0.208 314.1)
XYZxyz(20.7467, 11.1717, 45.3104)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2EB6 #55B62E
analogous
#4B2EB6 #8F2EB6 #B62E99
triadic
#8F2EB6 #B68F2E #2EB68F
tetradic
#8F2EB6 #B64B2E #55B62E #2E99B6
square
#8F2EB6 #B64B2E #55B62E #2E99B6
split-complementary
#8F2EB6 #99B62E #2EB64B
monochromatic
#421554 #692285 #8F2EB6 #AD4FD2 #C380DF

Accessibility & contrast

On white

6.49
#8F2EB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#8F2EB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2EB6
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2EB6#FFFFFF#000000##FFFFFF
##8F2EB61.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BA
Deuteranopia (green-blind)
#2460B3
Tritanopia (blue-blind)
#8B4C70
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8f2eb6;
/* rgb */ color: rgb(143, 46, 182);
/* oklch */ color: oklch(50.8% 0.208 314.1);
Tailwind
colors: {
  custom: {
    50: '#b471cd',
    500: '#8f2eb6',
    950: '#000000',
  },
}
SCSS
$custom: #8f2eb6;
$custom-light: #b471cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2eb6",
  "rgb": {
    "r": 143,
    "g": 46,
    "b": 182
  },
  "hsl": {
    "h": 282.794,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50845,
    "c": 0.2083,
    "h": 314.1
  },
  "luminance": 0.11171
}

Semantic roles & 50–950 ramp

primary
#8F2EB6
secondary
#8FC878
accent
#E34572
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #8F2EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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