#8B3DD4#8B3DD4

#8B3DD4 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 54.1% C 0.219 H 303.3°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8B3DD4
RGBrgb(139, 61, 212)
HSLhsl(271, 64%, 54%)
HSVhsv(271, 71%, 83%)
CMYKcmyk(34.4%, 71.2%, 0%, 16.9%)
CIE-LABlab(43.62, 59.89, -64.40)
CIE-LCHlch(43.62, 87.95, 312.92°)
OKLaboklab(54.07% 0.1204 -0.1834)
OKLCHoklch(54.07% 0.219 303.3)
XYZxyz(24.1971, 13.5799, 63.6210)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3DD4 #86D43D
analogous
#3F3DD4 #8B3DD4 #D43DD2
triadic
#8B3DD4 #D48B3D #3DD48B
tetradic
#8B3DD4 #D43F3D #86D43D #3DD2D4
square
#8B3DD4 #D43F3D #86D43D #3DD2D4
split-complementary
#8B3DD4 #D2D43D #3DD43F
monochromatic
#4D1B7B #6C26AD #8B3DD4 #A96FDF #C7A1EA

Accessibility & contrast

On white

5.65
#8B3DD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#8B3DD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3DD4
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3DD4#FFFFFF#000000##FFFFFF
##8B3DD41.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D8
Deuteranopia (green-blind)
#0067D1
Tritanopia (blue-blind)
#7C6185
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8b3dd4;
/* rgb */ color: rgb(139, 61, 212);
/* oklch */ color: oklch(54.1% 0.219 303.3);
Tailwind
colors: {
  custom: {
    50: '#b379e2',
    500: '#8b3dd4',
    950: '#000000',
  },
}
SCSS
$custom: #8b3dd4;
$custom-light: #b379e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3dd4",
  "rgb": {
    "r": 139,
    "g": 61,
    "b": 212
  },
  "hsl": {
    "h": 270.993,
    "s": 63.713,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54068,
    "c": 0.21937,
    "h": 303.3
  },
  "luminance": 0.1358
}

Semantic roles & 50–950 ramp

primary
#8B3DD4
secondary
#B5D796
accent
#E74191
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120915
muted
#817B84

Preview Lab

Preview with #8B3DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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