#8F2DAF#8F2DAF

#8F2DAF is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.3% C 0.203 H 316.3°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#8F2DAF
RGBrgb(143, 45, 175)
HSLhsl(285, 59%, 43%)
HSVhsv(285, 74%, 69%)
CMYKcmyk(18.3%, 74.3%, 0%, 31.4%)
CIE-LABlab(39.26, 59.21, -49.82)
CIE-LCHlch(39.26, 77.38, 319.92°)
OKLaboklab(50.27% 0.1468 -0.1403)
OKLCHoklch(50.27% 0.203 316.3)
XYZxyz(20.0027, 10.8124, 41.5825)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2DAF #4DAF2D
analogous
#4E2DAF #8F2DAF #AF2D8E
triadic
#8F2DAF #AF8F2D #2DAF8F
tetradic
#8F2DAF #AF4E2D #4DAF2D #2D8EAF
square
#8F2DAF #AF4E2D #4DAF2D #2D8EAF
split-complementary
#8F2DAF #8EAF2D #2DAF4E
monochromatic
#3F144E #67207E #8F2DAF #AF49D0 #C47ADD

Accessibility & contrast

On white

6.64
#8F2DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#8F2DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2DAF
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2DAF#FFFFFF#000000##FFFFFF
##8F2DAF1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B3
Deuteranopia (green-blind)
#2D5FAC
Tritanopia (blue-blind)
#8D496C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8f2daf;
/* rgb */ color: rgb(143, 45, 175);
/* oklch */ color: oklch(50.3% 0.203 316.3);
Tailwind
colors: {
  custom: {
    50: '#b470c8',
    500: '#8f2daf',
    950: '#000000',
  },
}
SCSS
$custom: #8f2daf;
$custom-light: #b470c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2daf",
  "rgb": {
    "r": 143,
    "g": 45,
    "b": 175
  },
  "hsl": {
    "h": 285.231,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50265,
    "c": 0.20308,
    "h": 316.3
  },
  "luminance": 0.10812
}

Semantic roles & 50–950 ramp

primary
#8F2DAF
secondary
#87C573
accent
#E2466C
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #8F2DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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