#8F2EB3#8F2EB3

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

Color values

HEX#8F2EB3
RGBrgb(143, 46, 179)
HSLhsl(284, 59%, 44%)
HSVhsv(284, 74%, 70%)
CMYKcmyk(20.1%, 74.3%, 0%, 29.8%)
CIE-LABlab(39.66, 59.63, -51.55)
CIE-LCHlch(39.66, 78.83, 319.16°)
OKLaboklab(50.64% 0.1454 -0.1454)
OKLCHoklch(50.64% 0.206 315)
XYZxyz(20.4400, 11.0490, 43.6951)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2EB3 #52B32E
analogous
#4C2EB3 #8F2EB3 #B32E95
triadic
#8F2EB3 #B38F2E #2EB38F
tetradic
#8F2EB3 #B34C2E #52B32E #2E95B3
square
#8F2EB3 #B34C2E #52B32E #2E95B3
split-complementary
#8F2EB3 #95B32E #2EB34C
monochromatic
#411552 #682182 #8F2EB3 #AD4DD1 #C47EDE

Accessibility & contrast

On white

6.54
#8F2EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#8F2EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2EB3
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2EB3#FFFFFF#000000##FFFFFF
##8F2EB31.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B7
Deuteranopia (green-blind)
#2860B0
Tritanopia (blue-blind)
#8C4B6E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8f2eb3;
/* rgb */ color: rgb(143, 46, 179);
/* oklch */ color: oklch(50.6% 0.206 315.0);
Tailwind
colors: {
  custom: {
    50: '#b471ca',
    500: '#8f2eb3',
    950: '#000000',
  },
}
SCSS
$custom: #8f2eb3;
$custom-light: #b471ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2eb3",
  "rgb": {
    "r": 143,
    "g": 46,
    "b": 179
  },
  "hsl": {
    "h": 283.759,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50635,
    "c": 0.20558,
    "h": 315
  },
  "luminance": 0.11048
}

Semantic roles & 50–950 ramp

primary
#8F2EB3
secondary
#8CC676
accent
#E24670
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #8F2EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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