#8B3CD2#8B3CD2

#8B3CD2 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.8% C 0.218 H 303.9°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#8B3CD2
RGBrgb(139, 60, 210)
HSLhsl(272, 63%, 53%)
HSVhsv(272, 71%, 82%)
CMYKcmyk(33.8%, 71.4%, 0%, 17.6%)
CIE-LABlab(43.32, 59.87, -63.74)
CIE-LCHlch(43.32, 87.45, 313.20°)
OKLaboklab(53.81% 0.1217 -0.1814)
OKLCHoklch(53.81% 0.218 303.9)
XYZxyz(23.8935, 13.3739, 62.2829)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3CD2 #83D23C
analogous
#403CD2 #8B3CD2 #D23CCE
triadic
#8B3CD2 #D28B3C #3CD28B
tetradic
#8B3CD2 #D2403C #83D23C #3CCED2
square
#8B3CD2 #D2403C #83D23C #3CCED2
split-complementary
#8B3CD2 #CED23C #3CD240
monochromatic
#4C1C78 #6C27AA #8B3CD2 #A96EDD #C69FE9

Accessibility & contrast

On white

5.71
#8B3CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#8B3CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3CD2
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3CD2#FFFFFF#000000##FFFFFF
##8B3CD21.005.713.675.71
#FFFFFF5.711.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D6
Deuteranopia (green-blind)
#0066CF
Tritanopia (blue-blind)
#7D6083
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8b3cd2;
/* rgb */ color: rgb(139, 60, 210);
/* oklch */ color: oklch(53.8% 0.218 303.9);
Tailwind
colors: {
  custom: {
    50: '#b378e1',
    500: '#8b3cd2',
    950: '#000000',
  },
}
SCSS
$custom: #8b3cd2;
$custom-light: #b378e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3cd2",
  "rgb": {
    "r": 139,
    "g": 60,
    "b": 210
  },
  "hsl": {
    "h": 271.6,
    "s": 62.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.53807,
    "c": 0.21848,
    "h": 303.9
  },
  "luminance": 0.13374
}

Semantic roles & 50–950 ramp

primary
#8B3CD2
secondary
#B3D594
accent
#E64290
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8B3CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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