#8F2BB5#8F2BB5

#8F2BB5 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.5% C 0.211 H 314.6°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#8F2BB5
RGBrgb(143, 43, 181)
HSLhsl(283, 62%, 44%)
HSVhsv(283, 76%, 71%)
CMYKcmyk(21%, 76.2%, 0%, 29%)
CIE-LABlab(39.42, 61.13, -53.13)
CIE-LCHlch(39.42, 80.99, 319.01°)
OKLaboklab(50.51% 0.1478 -0.15)
OKLCHoklch(50.51% 0.211 314.6)
XYZxyz(20.5307, 10.9043, 44.7304)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2BB5 #51B52B
analogous
#4A2BB5 #8F2BB5 #B52B96
triadic
#8F2BB5 #B58F2B #2BB58F
tetradic
#8F2BB5 #B54A2B #51B52B #2B96B5
square
#8F2BB5 #B54A2B #51B52B #2B96B5
split-complementary
#8F2BB5 #96B52B #2BB54A
monochromatic
#411452 #681F84 #8F2BB5 #AE49D4 #C47BE0

Accessibility & contrast

On white

6.60
#8F2BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#8F2BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2BB5
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2BB5#FFFFFF#000000##FFFFFF
##8F2BB51.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B9
Deuteranopia (green-blind)
#225FB2
Tritanopia (blue-blind)
#8C4A6F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8f2bb5;
/* rgb */ color: rgb(143, 43, 181);
/* oklch */ color: oklch(50.5% 0.211 314.6);
Tailwind
colors: {
  custom: {
    50: '#b46fcc',
    500: '#8f2bb5',
    950: '#000000',
  },
}
SCSS
$custom: #8f2bb5;
$custom-light: #b46fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2bb5",
  "rgb": {
    "r": 143,
    "g": 43,
    "b": 181
  },
  "hsl": {
    "h": 283.478,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50506,
    "c": 0.21058,
    "h": 314.6
  },
  "luminance": 0.10904
}

Semantic roles & 50–950 ramp

primary
#8F2BB5
secondary
#8BC874
accent
#E54370
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #8F2BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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