#8F2DBB#8F2DBB

#8F2DBB is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.1% C 0.214 H 312.7°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#8F2DBB
RGBrgb(143, 45, 187)
HSLhsl(281, 61%, 45%)
HSVhsv(281, 76%, 73%)
CMYKcmyk(23.5%, 75.9%, 0%, 26.7%)
CIE-LABlab(40.09, 61.63, -55.58)
CIE-LCHlch(40.09, 82.99, 317.95°)
OKLaboklab(51.11% 0.1451 -0.1572)
OKLCHoklch(51.11% 0.214 312.7)
XYZxyz(21.2341, 11.3049, 48.0676)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2DBB #59BB2D
analogous
#482DBB #8F2DBB #BB2DA0
triadic
#8F2DBB #BB8F2D #2DBB8F
tetradic
#8F2DBB #BB482D #59BB2D #2DA0BB
square
#8F2DBB #BB482D #59BB2D #2DA0BB
split-complementary
#8F2DBB #A0BB2D #2DBB48
monochromatic
#441558 #69218A #8F2DBB #AC50D5 #C382E1

Accessibility & contrast

On white

6.44
#8F2DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#8F2DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2DBB
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2DBB#FFFFFF#000000##FFFFFF
##8F2DBB1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABF
Deuteranopia (green-blind)
#1A60B8
Tritanopia (blue-blind)
#8A4E73
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8f2dbb;
/* rgb */ color: rgb(143, 45, 187);
/* oklch */ color: oklch(51.1% 0.214 312.7);
Tailwind
colors: {
  custom: {
    50: '#b471d0',
    500: '#8f2dbb',
    950: '#000000',
  },
}
SCSS
$custom: #8f2dbb;
$custom-light: #b471d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2dbb",
  "rgb": {
    "r": 143,
    "g": 45,
    "b": 187
  },
  "hsl": {
    "h": 281.408,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.51112,
    "c": 0.2139,
    "h": 312.7
  },
  "luminance": 0.11304
}

Semantic roles & 50–950 ramp

primary
#8F2DBB
secondary
#93CA7A
accent
#E44375
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8F2DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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