#8B3DCD#8B3DCD

#8B3DCD is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.5% C 0.212 H 305.0°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#8B3DCD
RGBrgb(139, 61, 205)
HSLhsl(273, 59%, 52%)
HSVhsv(273, 70%, 80%)
CMYKcmyk(32.2%, 70.2%, 0%, 19.6%)
CIE-LABlab(43.11, 58.27, -61.20)
CIE-LCHlch(43.11, 84.50, 313.60°)
OKLaboklab(53.55% 0.1216 -0.1739)
OKLCHoklch(53.55% 0.212 305)
XYZxyz(23.3332, 13.2344, 59.0710)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3DCD #7FCD3D
analogous
#433DCD #8B3DCD #CD3DC7
triadic
#8B3DCD #CD8B3D #3DCD8B
tetradic
#8B3DCD #CD433D #7FCD3D #3DC7CD
square
#8B3DCD #CD433D #7FCD3D #3DC7CD
split-complementary
#8B3DCD #C7CD3D #3DCD43
monochromatic
#4B1D72 #6B2AA3 #8B3DCD #A86EDA #C59EE6

Accessibility & contrast

On white

5.76
#8B3DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#8B3DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3DCD
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3DCD#FFFFFF#000000##FFFFFF
##8B3DCD1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D1
Deuteranopia (green-blind)
#0066CA
Tritanopia (blue-blind)
#7F5F81
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8b3dcd;
/* rgb */ color: rgb(139, 61, 205);
/* oklch */ color: oklch(53.5% 0.212 305.0);
Tailwind
colors: {
  custom: {
    50: '#b279dd',
    500: '#8b3dcd',
    950: '#000000',
  },
}
SCSS
$custom: #8b3dcd;
$custom-light: #b279dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3dcd",
  "rgb": {
    "r": 139,
    "g": 61,
    "b": 205
  },
  "hsl": {
    "h": 272.5,
    "s": 59.016,
    "l": 52.157
  },
  "oklch": {
    "l": 0.53545,
    "c": 0.21222,
    "h": 305
  },
  "luminance": 0.13234
}

Semantic roles & 50–950 ramp

primary
#8B3DCD
secondary
#B0D293
accent
#E2468D
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8B3DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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