#8F2DBF#8F2DBF

#8F2DBF is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.4% C 0.218 H 311.6°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#8F2DBF
RGBrgb(143, 45, 191)
HSLhsl(280, 62%, 46%)
HSVhsv(280, 76%, 75%)
CMYKcmyk(25.1%, 76.4%, 0%, 25.1%)
CIE-LABlab(40.38, 62.45, -57.47)
CIE-LCHlch(40.38, 84.86, 317.38°)
OKLaboklab(51.4% 0.1444 -0.1627)
OKLCHoklch(51.4% 0.218 311.6)
XYZxyz(21.6683, 11.4786, 50.3543)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2DBF #5DBF2D
analogous
#462DBF #8F2DBF #BF2DA6
triadic
#8F2DBF #BF8F2D #2DBF8F
tetradic
#8F2DBF #BF462D #5DBF2D #2DA6BF
square
#8F2DBF #BF462D #5DBF2D #2DA6BF
split-complementary
#8F2DBF #A6BF2D #2DBF46
monochromatic
#45165C #6A218D #8F2DBF #AB53D6 #C384E2

Accessibility & contrast

On white

6.37
#8F2DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#8F2DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2DBF
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2DBF#FFFFFF#000000##FFFFFF
##8F2DBF1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC3
Deuteranopia (green-blind)
#0F61BC
Tritanopia (blue-blind)
#895075
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8f2dbf;
/* rgb */ color: rgb(143, 45, 191);
/* oklch */ color: oklch(51.4% 0.218 311.6);
Tailwind
colors: {
  custom: {
    50: '#b571d3',
    500: '#8f2dbf',
    950: '#000000',
  },
}
SCSS
$custom: #8f2dbf;
$custom-light: #b571d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2dbf",
  "rgb": {
    "r": 143,
    "g": 45,
    "b": 191
  },
  "hsl": {
    "h": 280.274,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.51404,
    "c": 0.21753,
    "h": 311.6
  },
  "luminance": 0.11478
}

Semantic roles & 50–950 ramp

primary
#8F2DBF
secondary
#96CB7C
accent
#E54378
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8F2DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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