#8F2BB4#8F2BB4

#8F2BB4 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.4% C 0.210 H 314.9°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#8F2BB4
RGBrgb(143, 43, 180)
HSLhsl(284, 61%, 44%)
HSVhsv(284, 76%, 71%)
CMYKcmyk(20.6%, 76.1%, 0%, 29.4%)
CIE-LABlab(39.35, 60.93, -52.65)
CIE-LCHlch(39.35, 80.52, 319.17°)
OKLaboklab(50.43% 0.148 -0.1486)
OKLCHoklch(50.43% 0.21 314.9)
XYZxyz(20.4284, 10.8634, 44.1919)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2BB4 #50B42B
analogous
#4B2BB4 #8F2BB4 #B42B94
triadic
#8F2BB4 #B48F2B #2BB48F
tetradic
#8F2BB4 #B44B2B #50B42B #2B94B4
square
#8F2BB4 #B44B2B #50B42B #2B94B4
split-complementary
#8F2BB4 #94B42B #2BB44B
monochromatic
#411351 #681F83 #8F2BB4 #AE49D3 #C47ADF

Accessibility & contrast

On white

6.62
#8F2BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#8F2BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2BB4
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2BB4#FFFFFF#000000##FFFFFF
##8F2BB41.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B8
Deuteranopia (green-blind)
#245FB1
Tritanopia (blue-blind)
#8C4A6E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8f2bb4;
/* rgb */ color: rgb(143, 43, 180);
/* oklch */ color: oklch(50.4% 0.210 314.9);
Tailwind
colors: {
  custom: {
    50: '#b46fcb',
    500: '#8f2bb4',
    950: '#000000',
  },
}
SCSS
$custom: #8f2bb4;
$custom-light: #b46fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2bb4",
  "rgb": {
    "r": 143,
    "g": 43,
    "b": 180
  },
  "hsl": {
    "h": 283.796,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50435,
    "c": 0.20969,
    "h": 314.9
  },
  "luminance": 0.10863
}

Semantic roles & 50–950 ramp

primary
#8F2BB4
secondary
#8AC773
accent
#E5436F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #8F2BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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