#8B3EE2#8B3EE2

#8B3EE2 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 55.3% C 0.233 H 300.2°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#8B3EE2
RGBrgb(139, 62, 226)
HSLhsl(268, 74%, 56%)
HSVhsv(268, 73%, 89%)
CMYKcmyk(38.5%, 72.6%, 0%, 11.4%)
CIE-LABlab(44.84, 62.74, -70.43)
CIE-LCHlch(44.84, 94.32, 311.69°)
OKLaboklab(55.26% 0.1168 -0.2011)
OKLCHoklch(55.26% 0.233 300.2)
XYZxyz(26.0941, 14.4250, 73.3463)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3EE2 #95E23E
analogous
#3E43E2 #8B3EE2 #DD3EE2
triadic
#8B3EE2 #E28B3E #3EE28B
tetradic
#8B3EE2 #E23E43 #95E23E #3EE2DD
square
#8B3EE2 #E23E43 #95E23E #3EE2DD
split-complementary
#8B3EE2 #E2DD3E #43E23E
monochromatic
#4F1690 #6C1EC5 #8B3EE2 #AB73EA #CBA8F2

Accessibility & contrast

On white

5.41
#8B3EE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#8B3EE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3EE2
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3EE2#FFFFFF#000000##FFFFFF
##8B3EE21.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE7
Deuteranopia (green-blind)
#0069DF
Tritanopia (blue-blind)
#77678D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8b3ee2;
/* rgb */ color: rgb(139, 62, 226);
/* oklch */ color: oklch(55.3% 0.233 300.2);
Tailwind
colors: {
  custom: {
    50: '#b47aec',
    500: '#8b3ee2',
    950: '#000000',
  },
}
SCSS
$custom: #8b3ee2;
$custom-light: #b47aec;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3ee2",
  "rgb": {
    "r": 139,
    "g": 62,
    "b": 226
  },
  "hsl": {
    "h": 268.171,
    "s": 73.874,
    "l": 56.471
  },
  "oklch": {
    "l": 0.55256,
    "c": 0.23256,
    "h": 300.2
  },
  "luminance": 0.14425
}

Semantic roles & 50–950 ramp

primary
#8B3EE2
secondary
#C0E09C
accent
#F1379A
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8B3EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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