#8B2DD0#8B2DD0

#8B2DD0 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 52.2% C 0.232 H 305.7°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#8B2DD0
RGBrgb(139, 45, 208)
HSLhsl(275, 64%, 50%)
HSVhsv(275, 78%, 82%)
CMYKcmyk(33.2%, 78.4%, 0%, 18.4%)
CIE-LABlab(41.09, 65.36, -66.22)
CIE-LCHlch(41.09, 93.05, 314.63°)
OKLaboklab(52.19% 0.1353 -0.1886)
OKLCHoklch(52.19% 0.232 305.7)
XYZxyz(22.9685, 11.9200, 60.7531)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2DD0 #72D02D
analogous
#392DD0 #8B2DD0 #D02DC4
triadic
#8B2DD0 #D08B2D #2DD08B
tetradic
#8B2DD0 #D0392D #72D02D #2DC4D0
square
#8B2DD0 #D0392D #72D02D #2DC4D0
split-complementary
#8B2DD0 #C4D02D #2DD039
monochromatic
#48176B #69229E #8B2DD0 #A75EDC #C290E7

Accessibility & contrast

On white

6.21
#8B2DD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#8B2DD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2DD0
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2DD0#FFFFFF#000000##FFFFFF
##8B2DD01.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED4
Deuteranopia (green-blind)
#0061CD
Tritanopia (blue-blind)
#7E587F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8b2dd0;
/* rgb */ color: rgb(139, 45, 208);
/* oklch */ color: oklch(52.2% 0.232 305.7);
Tailwind
colors: {
  custom: {
    50: '#b371df',
    500: '#8b2dd0',
    950: '#000000',
  },
}
SCSS
$custom: #8b2dd0;
$custom-light: #b371df;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2dd0",
  "rgb": {
    "r": 139,
    "g": 45,
    "b": 208
  },
  "hsl": {
    "h": 274.601,
    "s": 64.427,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52187,
    "c": 0.23211,
    "h": 305.7
  },
  "luminance": 0.1192
}

Semantic roles & 50–950 ramp

primary
#8B2DD0
secondary
#A7D287
accent
#E74087
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #8B2DD0

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

Preview Lab → · Contrast checker → · Palette generator →

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