#8B3DD2#8B3DD2

#8B3DD2 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.9% C 0.217 H 303.8°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#8B3DD2
RGBrgb(139, 61, 210)
HSLhsl(271, 62%, 53%)
HSVhsv(271, 71%, 82%)
CMYKcmyk(33.8%, 71%, 0%, 17.6%)
CIE-LABlab(43.48, 59.43, -63.49)
CIE-LCHlch(43.48, 86.96, 313.11°)
OKLaboklab(53.92% 0.1208 -0.1807)
OKLCHoklch(53.92% 0.217 303.8)
XYZxyz(23.9464, 13.4796, 62.3005)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3DD2 #84D23D
analogous
#403DD2 #8B3DD2 #D23DCF
triadic
#8B3DD2 #D28B3D #3DD28B
tetradic
#8B3DD2 #D2403D #84D23D #3DCFD2
square
#8B3DD2 #D2403D #84D23D #3DCFD2
split-complementary
#8B3DD2 #CFD23D #3DD240
monochromatic
#4C1C79 #6C28AA #8B3DD2 #A96FDE #C6A0E9

Accessibility & contrast

On white

5.68
#8B3DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#8B3DD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3DD2
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3DD2#FFFFFF#000000##FFFFFF
##8B3DD21.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D6
Deuteranopia (green-blind)
#0067CF
Tritanopia (blue-blind)
#7D6184
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8b3dd2;
/* rgb */ color: rgb(139, 61, 210);
/* oklch */ color: oklch(53.9% 0.217 303.8);
Tailwind
colors: {
  custom: {
    50: '#b279e1',
    500: '#8b3dd2',
    950: '#000000',
  },
}
SCSS
$custom: #8b3dd2;
$custom-light: #b279e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3dd2",
  "rgb": {
    "r": 139,
    "g": 61,
    "b": 210
  },
  "hsl": {
    "h": 271.409,
    "s": 62.343,
    "l": 53.137
  },
  "oklch": {
    "l": 0.53918,
    "c": 0.21733,
    "h": 303.8
  },
  "luminance": 0.1348
}

Semantic roles & 50–950 ramp

primary
#8B3DD2
secondary
#B4D695
accent
#E54290
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8B3DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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