#8F2DBC#8F2DBC

#8F2DBC is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.2% C 0.215 H 312.4°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#8F2DBC
RGBrgb(143, 45, 188)
HSLhsl(281, 61%, 46%)
HSVhsv(281, 76%, 74%)
CMYKcmyk(23.9%, 76.1%, 0%, 26.3%)
CIE-LABlab(40.16, 61.83, -56.05)
CIE-LCHlch(40.16, 83.46, 317.81°)
OKLaboklab(51.19% 0.1449 -0.1586)
OKLCHoklch(51.19% 0.215 312.4)
XYZxyz(21.3415, 11.3479, 48.6333)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2DBC #5ABC2D
analogous
#482DBC #8F2DBC #BC2DA1
triadic
#8F2DBC #BC8F2D #2DBC8F
tetradic
#8F2DBC #BC482D #5ABC2D #2DA1BC
square
#8F2DBC #BC482D #5ABC2D #2DA1BC
split-complementary
#8F2DBC #A1BC2D #2DBC48
monochromatic
#441559 #69218B #8F2DBC #AC51D5 #C382E1

Accessibility & contrast

On white

6.42
#8F2DBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8F2DBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2DBC
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2DBC#FFFFFF#000000##FFFFFF
##8F2DBC1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC0
Deuteranopia (green-blind)
#1761B9
Tritanopia (blue-blind)
#8A4E73
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8f2dbc;
/* rgb */ color: rgb(143, 45, 188);
/* oklch */ color: oklch(51.2% 0.215 312.4);
Tailwind
colors: {
  custom: {
    50: '#b471d1',
    500: '#8f2dbc',
    950: '#000000',
  },
}
SCSS
$custom: #8f2dbc;
$custom-light: #b471d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2dbc",
  "rgb": {
    "r": 143,
    "g": 45,
    "b": 188
  },
  "hsl": {
    "h": 281.119,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.51185,
    "c": 0.2148,
    "h": 312.4
  },
  "luminance": 0.11347
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F2DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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