#8B3EDD#8B3EDD

#8B3EDD is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.9% C 0.227 H 301.2°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#8B3EDD
RGBrgb(139, 62, 221)
HSLhsl(269, 70%, 55%)
HSVhsv(269, 72%, 87%)
CMYKcmyk(37.1%, 71.9%, 0%, 13.3%)
CIE-LABlab(44.45, 61.56, -68.21)
CIE-LCHlch(44.45, 91.88, 312.07°)
OKLaboklab(54.87% 0.1178 -0.1945)
OKLCHoklch(54.87% 0.227 301.2)
XYZxyz(25.4181, 14.1545, 69.7856)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3EDD #90DD3E
analogous
#3E40DD #8B3EDD #DB3EDD
triadic
#8B3EDD #DD8B3E #3EDD8B
tetradic
#8B3EDD #DD3E40 #90DD3E #3EDDDB
square
#8B3EDD #DD3E40 #90DD3E #3EDDDB
split-complementary
#8B3EDD #DDDB3E #40DD3E
monochromatic
#4F1889 #6C21BD #8B3EDD #AA72E6 #CAA6EF

Accessibility & contrast

On white

5.48
#8B3EDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#8B3EDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3EDD
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3EDD#FFFFFF#000000##FFFFFF
##8B3EDD1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E2
Deuteranopia (green-blind)
#0068DA
Tritanopia (blue-blind)
#79658A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8b3edd;
/* rgb */ color: rgb(139, 62, 221);
/* oklch */ color: oklch(54.9% 0.227 301.2);
Tailwind
colors: {
  custom: {
    50: '#b37ae9',
    500: '#8b3edd',
    950: '#000000',
  },
}
SCSS
$custom: #8b3edd;
$custom-light: #b37ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3edd",
  "rgb": {
    "r": 139,
    "g": 62,
    "b": 221
  },
  "hsl": {
    "h": 269.057,
    "s": 70.044,
    "l": 55.49
  },
  "oklch": {
    "l": 0.54867,
    "c": 0.22745,
    "h": 301.2
  },
  "luminance": 0.14155
}

Semantic roles & 50–950 ramp

primary
#8B3EDD
secondary
#BCDD9A
accent
#ED3B97
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8B3EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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