#8B2CCE#8B2CCE

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

Color values

HEX#8B2CCE
RGBrgb(139, 44, 206)
HSLhsl(275, 65%, 49%)
HSVhsv(275, 79%, 81%)
CMYKcmyk(32.5%, 78.6%, 0%, 19.2%)
CIE-LABlab(40.81, 65.28, -65.52)
CIE-LCHlch(40.81, 92.49, 314.90°)
OKLaboklab(51.94% 0.1366 -0.1865)
OKLCHoklch(51.94% 0.231 306.2)
XYZxyz(22.6863, 11.7468, 59.4528)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2CCE #6FCE2C
analogous
#3A2CCE #8B2CCE #CE2CC0
triadic
#8B2CCE #CE8B2C #2CCE8B
tetradic
#8B2CCE #CE3A2C #6FCE2C #2CC0CE
square
#8B2CCE #CE3A2C #6FCE2C #2CC0CE
split-complementary
#8B2CCE #C0CE2C #2CCE3A
monochromatic
#471669 #69219C #8B2CCE #A75BDC #C28EE7

Accessibility & contrast

On white

6.27
#8B2CCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#8B2CCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2CCE
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2CCE#FFFFFF#000000##FFFFFF
##8B2CCE1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b2cce;
/* rgb */ color: rgb(139, 44, 206);
/* oklch */ color: oklch(51.9% 0.231 306.2);
Tailwind
colors: {
  custom: {
    50: '#b371de',
    500: '#8b2cce',
    950: '#000000',
  },
}
SCSS
$custom: #8b2cce;
$custom-light: #b371de;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2cce",
  "rgb": {
    "r": 139,
    "g": 44,
    "b": 206
  },
  "hsl": {
    "h": 275.185,
    "s": 64.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.51945,
    "c": 0.23118,
    "h": 306.2
  },
  "luminance": 0.11747
}

Semantic roles & 50–950 ramp

primary
#8B2CCE
secondary
#A4D185
accent
#E84085
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #8B2CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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