#8F2EB4#8F2EB4

#8F2EB4 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.7% C 0.206 H 314.7°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#8F2EB4
RGBrgb(143, 46, 180)
HSLhsl(283, 59%, 44%)
HSVhsv(283, 74%, 71%)
CMYKcmyk(20.6%, 74.4%, 0%, 29.4%)
CIE-LABlab(39.73, 59.84, -52.03)
CIE-LCHlch(39.73, 79.29, 318.99°)
OKLaboklab(50.71% 0.1452 -0.1468)
OKLCHoklch(50.71% 0.206 314.7)
XYZxyz(20.5415, 11.0896, 44.2296)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2EB4 #53B42E
analogous
#4C2EB4 #8F2EB4 #B42E96
triadic
#8F2EB4 #B48F2E #2EB48F
tetradic
#8F2EB4 #B44C2E #53B42E #2E96B4
square
#8F2EB4 #B44C2E #53B42E #2E96B4
split-complementary
#8F2EB4 #96B42E #2EB44C
monochromatic
#421553 #682283 #8F2EB4 #AD4ED2 #C47EDE

Accessibility & contrast

On white

6.53
#8F2EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#8F2EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2EB4
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2EB4#FFFFFF#000000##FFFFFF
##8F2EB41.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B8
Deuteranopia (green-blind)
#2760B1
Tritanopia (blue-blind)
#8C4B6F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8f2eb4;
/* rgb */ color: rgb(143, 46, 180);
/* oklch */ color: oklch(50.7% 0.206 314.7);
Tailwind
colors: {
  custom: {
    50: '#b471cb',
    500: '#8f2eb4',
    950: '#000000',
  },
}
SCSS
$custom: #8f2eb4;
$custom-light: #b471cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2eb4",
  "rgb": {
    "r": 143,
    "g": 46,
    "b": 180
  },
  "hsl": {
    "h": 283.433,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50705,
    "c": 0.20649,
    "h": 314.7
  },
  "luminance": 0.11089
}

Semantic roles & 50–950 ramp

primary
#8F2EB4
secondary
#8DC777
accent
#E24571
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #8F2EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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