#8F2EB2#8F2EB2

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

Color values

HEX#8F2EB2
RGBrgb(143, 46, 178)
HSLhsl(284, 59%, 44%)
HSVhsv(284, 74%, 70%)
CMYKcmyk(19.7%, 74.2%, 0%, 30.2%)
CIE-LABlab(39.60, 59.43, -51.07)
CIE-LCHlch(39.60, 78.36, 319.33°)
OKLaboklab(50.57% 0.1455 -0.1439)
OKLCHoklch(50.57% 0.205 315.3)
XYZxyz(20.3393, 11.0087, 43.1644)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2EB2 #51B22E
analogous
#4D2EB2 #8F2EB2 #B22E93
triadic
#8F2EB2 #B28F2E #2EB28F
tetradic
#8F2EB2 #B24D2E #51B22E #2E93B2
square
#8F2EB2 #B24D2E #51B22E #2E93B2
split-complementary
#8F2EB2 #93B22E #2EB24D
monochromatic
#411551 #682181 #8F2EB2 #AE4CD1 #C47DDD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F2EB2#FFFFFF#000000##FFFFFF
##8F2EB21.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)
#0058B6
Deuteranopia (green-blind)
#2A60AF
Tritanopia (blue-blind)
#8C4B6E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8f2eb2;
/* rgb */ color: rgb(143, 46, 178);
/* oklch */ color: oklch(50.6% 0.205 315.3);
Tailwind
colors: {
  custom: {
    50: '#b471ca',
    500: '#8f2eb2',
    950: '#000000',
  },
}
SCSS
$custom: #8f2eb2;
$custom-light: #b471ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2eb2",
  "rgb": {
    "r": 143,
    "g": 46,
    "b": 178
  },
  "hsl": {
    "h": 284.091,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50565,
    "c": 0.20467,
    "h": 315.3
  },
  "luminance": 0.11008
}

Semantic roles & 50–950 ramp

primary
#8F2EB2
secondary
#8BC676
accent
#E2466F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #8F2EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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