#8F2DB8#8F2DB8

#8F2DB8 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.9% C 0.211 H 313.6°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#8F2DB8
RGBrgb(143, 45, 184)
HSLhsl(282, 61%, 45%)
HSVhsv(282, 76%, 72%)
CMYKcmyk(22.3%, 75.5%, 0%, 27.8%)
CIE-LABlab(39.88, 61.01, -54.16)
CIE-LCHlch(39.88, 81.58, 318.41°)
OKLaboklab(50.9% 0.1456 -0.153)
OKLCHoklch(50.9% 0.211 313.6)
XYZxyz(20.9163, 11.1778, 46.3938)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2DB8 #56B82D
analogous
#492DB8 #8F2DB8 #B82D9C
triadic
#8F2DB8 #B88F2D #2DB88F
tetradic
#8F2DB8 #B8492D #56B82D #2D9CB8
square
#8F2DB8 #B8492D #56B82D #2D9CB8
split-complementary
#8F2DB8 #9CB82D #2DB849
monochromatic
#431556 #692187 #8F2DB8 #AC4ED4 #C380E0

Accessibility & contrast

On white

6.49
#8F2DB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#8F2DB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2DB8
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2DB8#FFFFFF#000000##FFFFFF
##8F2DB81.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BC
Deuteranopia (green-blind)
#2060B5
Tritanopia (blue-blind)
#8B4D71
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8f2db8;
/* rgb */ color: rgb(143, 45, 184);
/* oklch */ color: oklch(50.9% 0.211 313.6);
Tailwind
colors: {
  custom: {
    50: '#b470ce',
    500: '#8f2db8',
    950: '#000000',
  },
}
SCSS
$custom: #8f2db8;
$custom-light: #b470ce;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2db8",
  "rgb": {
    "r": 143,
    "g": 45,
    "b": 184
  },
  "hsl": {
    "h": 282.302,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50897,
    "c": 0.21119,
    "h": 313.6
  },
  "luminance": 0.11177
}

Semantic roles & 50–950 ramp

primary
#8F2DB8
secondary
#90C978
accent
#E44473
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8F2DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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