#8B2BCE#8B2BCE

#8B2BCE is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.9% C 0.232 H 306.3°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#8B2BCE
RGBrgb(139, 43, 206)
HSLhsl(275, 65%, 49%)
HSVhsv(275, 79%, 81%)
CMYKcmyk(32.5%, 79.1%, 0%, 19.2%)
CIE-LABlab(40.69, 65.63, -65.71)
CIE-LCHlch(40.69, 92.87, 314.96°)
OKLaboklab(51.86% 0.1373 -0.1871)
OKLCHoklch(51.86% 0.232 306.3)
XYZxyz(22.6495, 11.6732, 59.4405)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2BCE #6ECE2B
analogous
#392BCE #8B2BCE #CE2BC0
triadic
#8B2BCE #CE8B2B #2BCE8B
tetradic
#8B2BCE #CE392B #6ECE2B #2BC0CE
square
#8B2BCE #CE392B #6ECE2B #2BC0CE
split-complementary
#8B2BCE #C0CE2B #2BCE39
monochromatic
#471669 #69209B #8B2BCE #A75ADC #C28CE7

Accessibility & contrast

On white

6.30
#8B2BCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#8B2BCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2BCE
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2BCE#FFFFFF#000000##FFFFFF
##8B2BCE1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD2
Deuteranopia (green-blind)
#0060CB
Tritanopia (blue-blind)
#7F567D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8b2bce;
/* rgb */ color: rgb(139, 43, 206);
/* oklch */ color: oklch(51.9% 0.232 306.3);
Tailwind
colors: {
  custom: {
    50: '#b370de',
    500: '#8b2bce',
    950: '#000000',
  },
}
SCSS
$custom: #8b2bce;
$custom-light: #b370de;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2bce",
  "rgb": {
    "r": 139,
    "g": 43,
    "b": 206
  },
  "hsl": {
    "h": 275.337,
    "s": 65.462,
    "l": 48.824
  },
  "oklch": {
    "l": 0.51862,
    "c": 0.23208,
    "h": 306.3
  },
  "luminance": 0.11673
}

Semantic roles & 50–950 ramp

primary
#8B2BCE
secondary
#A4D184
accent
#E83F85
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #8B2BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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