#8F2BB2#8F2BB2

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

Color values

HEX#8F2BB2
RGBrgb(143, 43, 178)
HSLhsl(284, 61%, 43%)
HSVhsv(284, 76%, 70%)
CMYKcmyk(19.7%, 75.8%, 0%, 30.2%)
CIE-LABlab(39.21, 60.53, -51.69)
CIE-LCHlch(39.21, 79.60, 319.51°)
OKLaboklab(50.29% 0.1483 -0.1457)
OKLCHoklch(50.29% 0.208 315.5)
XYZxyz(20.2262, 10.7825, 43.1267)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2BB2 #4EB22B
analogous
#4B2BB2 #8F2BB2 #B22B91
triadic
#8F2BB2 #B28F2B #2BB28F
tetradic
#8F2BB2 #B24B2B #4EB22B #2B91B2
square
#8F2BB2 #B24B2B #4EB22B #2B91B2
split-complementary
#8F2BB2 #91B22B #2BB24B
monochromatic
#40134F #671F81 #8F2BB2 #AF48D3 #C479DF

Accessibility & contrast

On white

6.65
#8F2BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F2BB2
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2BB2#FFFFFF#000000##FFFFFF
##8F2BB21.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#275FAF
Tritanopia (blue-blind)
#8C496D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8f2bb2;
/* rgb */ color: rgb(143, 43, 178);
/* oklch */ color: oklch(50.3% 0.208 315.5);
Tailwind
colors: {
  custom: {
    50: '#b46fca',
    500: '#8f2bb2',
    950: '#000000',
  },
}
SCSS
$custom: #8f2bb2;
$custom-light: #b46fca;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2bb2",
  "rgb": {
    "r": 143,
    "g": 43,
    "b": 178
  },
  "hsl": {
    "h": 284.444,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50294,
    "c": 0.20791,
    "h": 315.5
  },
  "luminance": 0.10782
}

Semantic roles & 50–950 ramp

primary
#8F2BB2
secondary
#88C772
accent
#E4446D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #8F2BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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