#8F2EBB#8F2EBB

#8F2EBB is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.2% C 0.213 H 312.6°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#8F2EBB
RGBrgb(143, 46, 187)
HSLhsl(281, 61%, 46%)
HSVhsv(281, 75%, 73%)
CMYKcmyk(23.5%, 75.4%, 0%, 26.7%)
CIE-LABlab(40.22, 61.26, -55.37)
CIE-LCHlch(40.22, 82.58, 317.89°)
OKLaboklab(51.2% 0.1442 -0.1566)
OKLCHoklch(51.2% 0.213 312.6)
XYZxyz(21.2727, 11.3821, 48.0804)
Luminance0.1138 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2EBB #5ABB2E
analogous
#492EBB #8F2EBB #BB2EA0
triadic
#8F2EBB #BB8F2E #2EBB8F
tetradic
#8F2EBB #BB492E #5ABB2E #2EA0BB
square
#8F2EBB #BB492E #5ABB2E #2EA0BB
split-complementary
#8F2EBB #A0BB2E #2EBB49
monochromatic
#441659 #69228A #8F2EBB #AC52D4 #C383E0

Accessibility & contrast

On white

6.41
#8F2EBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#8F2EBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2EBB
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2EBB#FFFFFF#000000##FFFFFF
##8F2EBB1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABF
Deuteranopia (green-blind)
#1B61B8
Tritanopia (blue-blind)
#8A4F73
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8f2ebb;
/* rgb */ color: rgb(143, 46, 187);
/* oklch */ color: oklch(51.2% 0.213 312.6);
Tailwind
colors: {
  custom: {
    50: '#b471d0',
    500: '#8f2ebb',
    950: '#000000',
  },
}
SCSS
$custom: #8f2ebb;
$custom-light: #b471d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2ebb",
  "rgb": {
    "r": 143,
    "g": 46,
    "b": 187
  },
  "hsl": {
    "h": 281.277,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.51202,
    "c": 0.21286,
    "h": 312.6
  },
  "luminance": 0.11381
}

Semantic roles & 50–950 ramp

primary
#8F2EBB
secondary
#94CA7B
accent
#E44476
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8F2EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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