#8B2DCE#8B2DCE

#8B2DCE is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 52.0% C 0.230 H 306.1°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#8B2DCE
RGBrgb(139, 45, 206)
HSLhsl(275, 64%, 49%)
HSVhsv(275, 78%, 81%)
CMYKcmyk(32.5%, 78.2%, 0%, 19.2%)
CIE-LABlab(40.93, 64.93, -65.32)
CIE-LCHlch(40.93, 92.10, 314.83°)
OKLaboklab(52.03% 0.1358 -0.186)
OKLCHoklch(52.03% 0.23 306.1)
XYZxyz(22.7240, 11.8222, 59.4653)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2DCE #70CE2D
analogous
#3B2DCE #8B2DCE #CE2DC1
triadic
#8B2DCE #CE8B2D #2DCE8B
tetradic
#8B2DCE #CE3B2D #70CE2D #2DC1CE
square
#8B2DCE #CE3B2D #70CE2D #2DC1CE
split-complementary
#8B2DCE #C1CE2D #2DCE3B
monochromatic
#47176A #69229C #8B2DCE #A75DDC #C28FE7

Accessibility & contrast

On white

6.24
#8B2DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#8B2DCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2DCE
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2DCE#FFFFFF#000000##FFFFFF
##8B2DCE1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b2dce;
/* rgb */ color: rgb(139, 45, 206);
/* oklch */ color: oklch(52.0% 0.230 306.1);
Tailwind
colors: {
  custom: {
    50: '#b371de',
    500: '#8b2dce',
    950: '#000000',
  },
}
SCSS
$custom: #8b2dce;
$custom-light: #b371de;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2dce",
  "rgb": {
    "r": 139,
    "g": 45,
    "b": 206
  },
  "hsl": {
    "h": 275.031,
    "s": 64.143,
    "l": 49.216
  },
  "oklch": {
    "l": 0.52029,
    "c": 0.23025,
    "h": 306.1
  },
  "luminance": 0.11822
}

Semantic roles & 50–950 ramp

primary
#8B2DCE
secondary
#A5D186
accent
#E74186
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #8B2DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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