#8F2BB8#8F2BB8

#8F2BB8 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.7% C 0.213 H 313.7°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#8F2BB8
RGBrgb(143, 43, 184)
HSLhsl(283, 62%, 45%)
HSVhsv(283, 77%, 72%)
CMYKcmyk(22.3%, 76.6%, 0%, 27.8%)
CIE-LABlab(39.63, 61.73, -54.56)
CIE-LCHlch(39.63, 82.39, 318.53°)
OKLaboklab(50.72% 0.1473 -0.1542)
OKLCHoklch(50.72% 0.213 313.7)
XYZxyz(20.8418, 11.0288, 46.3690)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2BB8 #54B82B
analogous
#482BB8 #8F2BB8 #B82B9B
triadic
#8F2BB8 #B88F2B #2BB88F
tetradic
#8F2BB8 #B8482B #54B82B #2B9BB8
square
#8F2BB8 #B8482B #54B82B #2B9BB8
split-complementary
#8F2BB8 #9BB82B #2BB848
monochromatic
#421455 #681F86 #8F2BB8 #AD4BD5 #C47DE1

Accessibility & contrast

On white

6.55
#8F2BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#8F2BB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2BB8
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2BB8#FFFFFF#000000##FFFFFF
##8F2BB81.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BC
Deuteranopia (green-blind)
#1D60B5
Tritanopia (blue-blind)
#8B4C71
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8f2bb8;
/* rgb */ color: rgb(143, 43, 184);
/* oklch */ color: oklch(50.7% 0.213 313.7);
Tailwind
colors: {
  custom: {
    50: '#b470ce',
    500: '#8f2bb8',
    950: '#000000',
  },
}
SCSS
$custom: #8f2bb8;
$custom-light: #b470ce;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2bb8",
  "rgb": {
    "r": 143,
    "g": 43,
    "b": 184
  },
  "hsl": {
    "h": 282.553,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5072,
    "c": 0.21325,
    "h": 313.7
  },
  "luminance": 0.11028
}

Semantic roles & 50–950 ramp

primary
#8F2BB8
secondary
#8EC976
accent
#E54372
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8F2BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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