#8F2BB3#8F2BB3

#8F2BB3 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.4% C 0.209 H 315.2°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#8F2BB3
RGBrgb(143, 43, 179)
HSLhsl(284, 61%, 44%)
HSVhsv(284, 76%, 70%)
CMYKcmyk(20.1%, 76%, 0%, 29.8%)
CIE-LABlab(39.28, 60.73, -52.17)
CIE-LCHlch(39.28, 80.06, 319.34°)
OKLaboklab(50.36% 0.1481 -0.1472)
OKLCHoklch(50.36% 0.209 315.2)
XYZxyz(20.3269, 10.8228, 43.6574)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2BB3 #4FB32B
analogous
#4B2BB3 #8F2BB3 #B32B93
triadic
#8F2BB3 #B38F2B #2BB38F
tetradic
#8F2BB3 #B34B2B #4FB32B #2B93B3
square
#8F2BB3 #B34B2B #4FB32B #2B93B3
split-complementary
#8F2BB3 #93B32B #2BB34B
monochromatic
#401350 #681F82 #8F2BB3 #AE48D3 #C479DF

Accessibility & contrast

On white

6.64
#8F2BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F2BB3
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2BB3#FFFFFF#000000##FFFFFF
##8F2BB31.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B7
Deuteranopia (green-blind)
#255FB0
Tritanopia (blue-blind)
#8C496E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8f2bb3;
/* rgb */ color: rgb(143, 43, 179);
/* oklch */ color: oklch(50.4% 0.209 315.2);
Tailwind
colors: {
  custom: {
    50: '#b46fca',
    500: '#8f2bb3',
    950: '#000000',
  },
}
SCSS
$custom: #8f2bb3;
$custom-light: #b46fca;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2bb3",
  "rgb": {
    "r": 143,
    "g": 43,
    "b": 179
  },
  "hsl": {
    "h": 284.118,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50364,
    "c": 0.2088,
    "h": 315.2
  },
  "luminance": 0.10822
}

Semantic roles & 50–950 ramp

primary
#8F2BB3
secondary
#89C773
accent
#E4436E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #8F2BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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