#8B2CB7#8B2CB7

#8B2CB7 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.2% C 0.210 H 312.3°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#8B2CB7
RGBrgb(139, 44, 183)
HSLhsl(281, 61%, 45%)
HSVhsv(281, 76%, 72%)
CMYKcmyk(24%, 76%, 0%, 28.2%)
CIE-LABlab(39.09, 60.41, -54.87)
CIE-LCHlch(39.09, 81.61, 317.75°)
OKLaboklab(50.2% 0.1415 -0.1552)
OKLCHoklch(50.2% 0.21 312.3)
XYZxyz(20.0938, 10.7098, 45.7993)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2CB7 #58B72C
analogous
#462CB7 #8B2CB7 #B72C9E
triadic
#8B2CB7 #B78B2C #2CB78B
tetradic
#8B2CB7 #B7462C #58B72C #2C9EB7
square
#8B2CB7 #B7462C #58B72C #2C9EB7
split-complementary
#8B2CB7 #9EB72C #2CB746
monochromatic
#401454 #662086 #8B2CB7 #A94CD4 #C17EE0

Accessibility & contrast

On white

6.68
#8B2CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#8B2CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2CB7
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2CB7#FFFFFF#000000##FFFFFF
##8B2CB71.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BB
Deuteranopia (green-blind)
#175EB4
Tritanopia (blue-blind)
#864C70
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8b2cb7;
/* rgb */ color: rgb(139, 44, 183);
/* oklch */ color: oklch(50.2% 0.210 312.3);
Tailwind
colors: {
  custom: {
    50: '#b16fcd',
    500: '#8b2cb7',
    950: '#000000',
  },
}
SCSS
$custom: #8b2cb7;
$custom-light: #b16fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2cb7",
  "rgb": {
    "r": 139,
    "g": 44,
    "b": 183
  },
  "hsl": {
    "h": 281.007,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50195,
    "c": 0.21003,
    "h": 312.3
  },
  "luminance": 0.10709
}

Semantic roles & 50–950 ramp

primary
#8B2CB7
secondary
#90C876
accent
#E44376
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8B2CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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