#8B5EE3#8B5EE3

#8B5EE3 is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.5% C 0.194 H 295.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8B5EE3
RGBrgb(139, 94, 227)
HSLhsl(260, 70%, 63%)
HSVhsv(260, 59%, 89%)
CMYKcmyk(38.8%, 58.6%, 0%, 11%)
CIE-LABlab(50.73, 47.06, -61.44)
CIE-LCHlch(50.73, 77.39, 307.45°)
OKLaboklab(59.52% 0.0834 -0.1747)
OKLCHoklch(59.52% 0.194 295.5)
XYZxyz(28.5117, 19.0399, 74.8310)
Luminance0.1904 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5EE3 #B6E35E
analogous
#5E73E3 #8B5EE3 #CE5EE3
triadic
#8B5EE3 #E38B5E #5EE38B
tetradic
#8B5EE3 #E35E73 #B6E35E #5EE3CE
square
#8B5EE3 #E35E73 #B6E35E #5EE3CE
split-complementary
#8B5EE3 #E3CE5E #73E35E
monochromatic
#4D1DA9 #652ADA #8B5EE3 #B192EC #D6C6F5

Accessibility & contrast

On white

4.37
#8B5EE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#8B5EE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5EE3
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5EE3#FFFFFF#000000##000000
##8B5EE31.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AE7
Deuteranopia (green-blind)
#2277E0
Tritanopia (blue-blind)
#757B98
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8b5ee3;
/* rgb */ color: rgb(139, 94, 227);
/* oklch */ color: oklch(59.5% 0.194 295.5);
Tailwind
colors: {
  custom: {
    50: '#b28ded',
    500: '#8b5ee3',
    950: '#000000',
  },
}
SCSS
$custom: #8b5ee3;
$custom-light: #b28ded;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5ee3",
  "rgb": {
    "r": 139,
    "g": 94,
    "b": 227
  },
  "hsl": {
    "h": 260.301,
    "s": 70.37,
    "l": 62.941
  },
  "oklch": {
    "l": 0.59523,
    "c": 0.19363,
    "h": 295.5
  },
  "luminance": 0.1904
}

Semantic roles & 50–950 ramp

primary
#8B5EE3
secondary
#D6E6B6
accent
#D21392
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8B5EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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