#8B5EDA#8B5EDA

#8B5EDA is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.9% C 0.183 H 297.2°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#8B5EDA
RGBrgb(139, 94, 218)
HSLhsl(262, 63%, 61%)
HSVhsv(262, 57%, 85%)
CMYKcmyk(36.2%, 56.9%, 0%, 14.5%)
CIE-LABlab(50.16, 44.72, -57.26)
CIE-LCHlch(50.16, 72.65, 307.99°)
OKLaboklab(58.92% 0.0835 -0.1625)
OKLCHoklch(58.92% 0.183 297.2)
XYZxyz(27.3019, 18.5559, 68.4593)
Luminance0.1856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5EDA #ADDA5E
analogous
#5E6FDA #8B5EDA #C95EDA
triadic
#8B5EDA #DA8B5E #5EDA8B
tetradic
#8B5EDA #DA5E6F #ADDA5E #5EDAC9
square
#8B5EDA #DA5E6F #ADDA5E #5EDAC9
split-complementary
#8B5EDA #DAC95E #6FDA5E
monochromatic
#4F239A #682FCC #8B5EDA #AF90E5 #D3C2F1

Accessibility & contrast

On white

4.46
#8B5EDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#8B5EDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5EDA
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5EDA#FFFFFF#000000##000000
##8B5EDA1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F78DE
Deuteranopia (green-blind)
#3276D7
Tritanopia (blue-blind)
#797893
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8b5eda;
/* rgb */ color: rgb(139, 94, 218);
/* oklch */ color: oklch(58.9% 0.183 297.2);
Tailwind
colors: {
  custom: {
    50: '#b18de6',
    500: '#8b5eda',
    950: '#000000',
  },
}
SCSS
$custom: #8b5eda;
$custom-light: #b18de6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5eda",
  "rgb": {
    "r": 139,
    "g": 94,
    "b": 218
  },
  "hsl": {
    "h": 261.774,
    "s": 62.626,
    "l": 61.176
  },
  "oklch": {
    "l": 0.58922,
    "c": 0.18268,
    "h": 297.2
  },
  "luminance": 0.18556
}

Semantic roles & 50–950 ramp

primary
#8B5EDA
secondary
#D0E1B3
accent
#CA1B8B
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8B5EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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