#8F2EB9#8F2EB9

#8F2EB9 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.1% C 0.211 H 313.2°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#8F2EB9
RGBrgb(143, 46, 185)
HSLhsl(282, 60%, 45%)
HSVhsv(282, 75%, 73%)
CMYKcmyk(22.7%, 75.1%, 0%, 27.5%)
CIE-LABlab(40.08, 60.85, -54.42)
CIE-LCHlch(40.08, 81.64, 318.19°)
OKLaboklab(51.06% 0.1445 -0.1538)
OKLCHoklch(51.06% 0.211 313.2)
XYZxyz(21.0601, 11.2971, 46.9607)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2EB9 #58B92E
analogous
#4A2EB9 #8F2EB9 #B92E9D
triadic
#8F2EB9 #B98F2E #2EB98F
tetradic
#8F2EB9 #B94A2E #58B92E #2E9DB9
square
#8F2EB9 #B94A2E #58B92E #2E9DB9
split-complementary
#8F2EB9 #9DB92E #2EB94A
monochromatic
#431657 #692288 #8F2EB9 #AC51D4 #C382E0

Accessibility & contrast

On white

6.44
#8F2EB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#8F2EB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2EB9
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2EB9#FFFFFF#000000##FFFFFF
##8F2EB91.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABD
Deuteranopia (green-blind)
#1F61B6
Tritanopia (blue-blind)
#8A4E72
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8f2eb9;
/* rgb */ color: rgb(143, 46, 185);
/* oklch */ color: oklch(51.1% 0.211 313.2);
Tailwind
colors: {
  custom: {
    50: '#b471cf',
    500: '#8f2eb9',
    950: '#000000',
  },
}
SCSS
$custom: #8f2eb9;
$custom-light: #b471cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2eb9",
  "rgb": {
    "r": 143,
    "g": 46,
    "b": 185
  },
  "hsl": {
    "h": 281.871,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.51059,
    "c": 0.21103,
    "h": 313.2
  },
  "luminance": 0.11296
}

Semantic roles & 50–950 ramp

primary
#8F2EB9
secondary
#92C97A
accent
#E34474
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8F2EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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