#8B5EEF#8B5EEF

#8B5EEF is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.4% C 0.208 H 293.5°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8B5EEF
RGBrgb(139, 94, 239)
HSLhsl(259, 82%, 65%)
HSVhsv(259, 61%, 94%)
CMYKcmyk(41.8%, 60.7%, 0%, 6.3%)
CIE-LABlab(51.53, 50.23, -66.90)
CIE-LCHlch(51.53, 83.66, 306.90°)
OKLaboklab(60.35% 0.0829 -0.1908)
OKLCHoklch(60.35% 0.208 293.5)
XYZxyz(30.2259, 19.7256, 83.8595)
Luminance0.1973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5EEF #C2EF5E
analogous
#5E79EF #8B5EEF #D45EEF
triadic
#8B5EEF #EF8B5E #5EEF8B
tetradic
#8B5EEF #EF5E79 #C2EF5E #5EEFD4
square
#8B5EEF #EF5E79 #C2EF5E #5EEFD4
split-complementary
#8B5EEF #EFD45E #79EF5E
monochromatic
#4913C0 #6326E9 #8B5EEF #B396F5 #DBCDFA

Accessibility & contrast

On white

4.25
#8B5EEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#8B5EEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5EEF
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5EEF#FFFFFF#000000##000000
##8B5EEF1.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF4
Deuteranopia (green-blind)
#0078EC
Tritanopia (blue-blind)
#707F9E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8b5eef;
/* rgb */ color: rgb(139, 94, 239);
/* oklch */ color: oklch(60.4% 0.208 293.5);
Tailwind
colors: {
  custom: {
    50: '#b38ef5',
    500: '#8b5eef',
    950: '#000000',
  },
}
SCSS
$custom: #8b5eef;
$custom-light: #b38ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5eef",
  "rgb": {
    "r": 139,
    "g": 94,
    "b": 239
  },
  "hsl": {
    "h": 258.621,
    "s": 81.921,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60353,
    "c": 0.20805,
    "h": 293.5
  },
  "luminance": 0.19726
}

Semantic roles & 50–950 ramp

primary
#8B5EEF
secondary
#DEEDBC
accent
#DE079C
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8B5EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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