#8B2CD1#8B2CD1

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

Color values

HEX#8B2CD1
RGBrgb(139, 44, 209)
HSLhsl(275, 65%, 50%)
HSVhsv(275, 79%, 82%)
CMYKcmyk(33.5%, 78.9%, 0%, 18%)
CIE-LABlab(41.05, 65.93, -66.87)
CIE-LCHlch(41.05, 93.91, 314.60°)
OKLaboklab(52.18% 0.1358 -0.1905)
OKLCHoklch(52.18% 0.234 305.5)
XYZxyz(23.0542, 11.8939, 61.3905)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2CD1 #72D12C
analogous
#382CD1 #8B2CD1 #D12CC5
triadic
#8B2CD1 #D18B2C #2CD18B
tetradic
#8B2CD1 #D1382C #72D12C #2CC5D1
square
#8B2CD1 #D1382C #72D12C #2CC5D1
split-complementary
#8B2CD1 #C5D12C #2CD138
monochromatic
#48176C #69219E #8B2CD1 #A75DDD #C290E8

Accessibility & contrast

On white

6.22
#8B2CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8B2CD1
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2CD1#FFFFFF#000000##FFFFFF
##8B2CD11.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b2cd1;
/* rgb */ color: rgb(139, 44, 209);
/* oklch */ color: oklch(52.2% 0.234 305.5);
Tailwind
colors: {
  custom: {
    50: '#b371e0',
    500: '#8b2cd1',
    950: '#000000',
  },
}
SCSS
$custom: #8b2cd1;
$custom-light: #b371e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2cd1",
  "rgb": {
    "r": 139,
    "g": 44,
    "b": 209
  },
  "hsl": {
    "h": 274.545,
    "s": 65.217,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52183,
    "c": 0.23395,
    "h": 305.5
  },
  "luminance": 0.11894
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B2CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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