#8F2BBB#8F2BBB

#8F2BBB is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.9% C 0.216 H 312.8°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#8F2BBB
RGBrgb(143, 43, 187)
HSLhsl(282, 63%, 45%)
HSVhsv(282, 77%, 73%)
CMYKcmyk(23.5%, 77%, 0%, 26.7%)
CIE-LABlab(39.84, 62.34, -55.98)
CIE-LCHlch(39.84, 83.78, 318.08°)
OKLaboklab(50.94% 0.1468 -0.1584)
OKLCHoklch(50.94% 0.216 312.8)
XYZxyz(21.1596, 11.1559, 48.0427)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2BBB #57BB2B
analogous
#472BBB #8F2BBB #BB2B9F
triadic
#8F2BBB #BB8F2B #2BBB8F
tetradic
#8F2BBB #BB472B #57BB2B #2B9FBB
square
#8F2BBB #BB472B #57BB2B #2B9FBB
split-complementary
#8F2BBB #9FBB2B #2BBB47
monochromatic
#431457 #692089 #8F2BBB #AC4DD6 #C37FE2

Accessibility & contrast

On white

6.50
#8F2BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#8F2BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2BBB
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2BBB#FFFFFF#000000##FFFFFF
##8F2BBB1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BF
Deuteranopia (green-blind)
#1760B8
Tritanopia (blue-blind)
#8A4D72
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8f2bbb;
/* rgb */ color: rgb(143, 43, 187);
/* oklch */ color: oklch(50.9% 0.216 312.8);
Tailwind
colors: {
  custom: {
    50: '#b470d0',
    500: '#8f2bbb',
    950: '#000000',
  },
}
SCSS
$custom: #8f2bbb;
$custom-light: #b470d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2bbb",
  "rgb": {
    "r": 143,
    "g": 43,
    "b": 187
  },
  "hsl": {
    "h": 281.667,
    "s": 62.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50938,
    "c": 0.21594,
    "h": 312.8
  },
  "luminance": 0.11155
}

Semantic roles & 50–950 ramp

primary
#8F2BBB
secondary
#91CA78
accent
#E64274
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8F2BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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