#8F2DA8#8F2DA8

#8F2DA8 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.8% C 0.197 H 318.6°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#8F2DA8
RGBrgb(143, 45, 168)
HSLhsl(288, 58%, 42%)
HSVhsv(288, 73%, 66%)
CMYKcmyk(14.9%, 73.2%, 0%, 34.1%)
CIE-LABlab(38.80, 57.83, -46.39)
CIE-LCHlch(38.80, 74.14, 321.26°)
OKLaboklab(49.79% 0.1476 -0.1302)
OKLCHoklch(49.79% 0.197 318.6)
XYZxyz(19.3330, 10.5445, 38.0551)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2DA8 #46A82D
analogous
#522DA8 #8F2DA8 #A82D84
triadic
#8F2DA8 #A88F2D #2DA88F
tetradic
#8F2DA8 #A8522D #46A82D #2D84A8
square
#8F2DA8 #A8522D #46A82D #2D84A8
split-complementary
#8F2DA8 #84A82D #2DA852
monochromatic
#3D1347 #662078 #8F2DA8 #B245CD #C675DA

Accessibility & contrast

On white

6.76
#8F2DA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8F2DA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2DA8
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2DA8#FFFFFF#000000##FFFFFF
##8F2DA81.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AB
Deuteranopia (green-blind)
#345EA5
Tritanopia (blue-blind)
#8F4668
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8f2da8;
/* rgb */ color: rgb(143, 45, 168);
/* oklch */ color: oklch(49.8% 0.197 318.6);
Tailwind
colors: {
  custom: {
    50: '#b470c2',
    500: '#8f2da8',
    950: '#000000',
  },
}
SCSS
$custom: #8f2da8;
$custom-light: #b470c2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2da8",
  "rgb": {
    "r": 143,
    "g": 45,
    "b": 168
  },
  "hsl": {
    "h": 287.805,
    "s": 57.746,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49792,
    "c": 0.19682,
    "h": 318.6
  },
  "luminance": 0.10544
}

Semantic roles & 50–950 ramp

primary
#8F2DA8
secondary
#80C26F
accent
#E14766
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81

Preview Lab

Preview with #8F2DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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