#8F2EB8#8F2EB8

#8F2EB8 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.0% C 0.210 H 313.5°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#8F2EB8
RGBrgb(143, 46, 184)
HSLhsl(282, 60%, 45%)
HSVhsv(282, 75%, 72%)
CMYKcmyk(22.3%, 75%, 0%, 27.8%)
CIE-LABlab(40.01, 60.65, -53.95)
CIE-LCHlch(40.01, 81.17, 318.35°)
OKLaboklab(50.99% 0.1447 -0.1524)
OKLCHoklch(50.99% 0.21 313.5)
XYZxyz(20.9549, 11.2550, 46.4067)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2EB8 #57B82E
analogous
#4A2EB8 #8F2EB8 #B82E9C
triadic
#8F2EB8 #B88F2E #2EB88F
tetradic
#8F2EB8 #B84A2E #57B82E #2E9CB8
square
#8F2EB8 #B84A2E #57B82E #2E9CB8
split-complementary
#8F2EB8 #9CB82E #2EB84A
monochromatic
#431656 #692287 #8F2EB8 #AC50D3 #C381DF

Accessibility & contrast

On white

6.46
#8F2EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#8F2EB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2EB8
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2EB8#FFFFFF#000000##FFFFFF
##8F2EB81.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BC
Deuteranopia (green-blind)
#2160B5
Tritanopia (blue-blind)
#8B4D71
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8f2eb8;
/* rgb */ color: rgb(143, 46, 184);
/* oklch */ color: oklch(51.0% 0.210 313.5);
Tailwind
colors: {
  custom: {
    50: '#b471ce',
    500: '#8f2eb8',
    950: '#000000',
  },
}
SCSS
$custom: #8f2eb8;
$custom-light: #b471ce;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2eb8",
  "rgb": {
    "r": 143,
    "g": 46,
    "b": 184
  },
  "hsl": {
    "h": 282.174,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50987,
    "c": 0.21012,
    "h": 313.5
  },
  "luminance": 0.11254
}

Semantic roles & 50–950 ramp

primary
#8F2EB8
secondary
#91C879
accent
#E34574
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8F2EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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