#8B2CB3#8B2CB3

#8B2CB3 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.9% C 0.206 H 313.5°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#8B2CB3
RGBrgb(139, 44, 179)
HSLhsl(282, 61%, 44%)
HSVhsv(282, 75%, 70%)
CMYKcmyk(22.3%, 75.4%, 0%, 29.8%)
CIE-LABlab(38.80, 59.59, -52.97)
CIE-LCHlch(38.80, 79.73, 318.37°)
OKLaboklab(49.91% 0.1421 -0.1496)
OKLCHoklch(49.91% 0.206 313.5)
XYZxyz(19.6834, 10.5456, 43.6377)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2CB3 #54B32C
analogous
#472CB3 #8B2CB3 #B32C97
triadic
#8B2CB3 #B38B2C #2CB38B
tetradic
#8B2CB3 #B3472C #54B32C #2C97B3
square
#8B2CB3 #B3472C #54B32C #2C97B3
split-complementary
#8B2CB3 #97B32C #2CB347
monochromatic
#3F1451 #652082 #8B2CB3 #AA4AD2 #C17BDF

Accessibility & contrast

On white

6.75
#8B2CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8B2CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2CB3
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2CB3#FFFFFF#000000##FFFFFF
##8B2CB31.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#1F5DB0
Tritanopia (blue-blind)
#874B6E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8b2cb3;
/* rgb */ color: rgb(139, 44, 179);
/* oklch */ color: oklch(49.9% 0.206 313.5);
Tailwind
colors: {
  custom: {
    50: '#b16fca',
    500: '#8b2cb3',
    950: '#000000',
  },
}
SCSS
$custom: #8b2cb3;
$custom-light: #b16fca;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2cb3",
  "rgb": {
    "r": 139,
    "g": 44,
    "b": 179
  },
  "hsl": {
    "h": 282.222,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49906,
    "c": 0.20637,
    "h": 313.5
  },
  "luminance": 0.10545
}

Semantic roles & 50–950 ramp

primary
#8B2CB3
secondary
#8DC774
accent
#E44473
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8B2CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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