#8E5CD7#8E5CD7

#8E5CD7 is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.7% C 0.182 H 299.5°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8E5CD7
RGBrgb(142, 92, 215)
HSLhsl(264, 61%, 60%)
HSVhsv(264, 57%, 84%)
CMYKcmyk(34%, 57.2%, 0%, 15.7%)
CIE-LABlab(49.87, 45.75, -56.01)
CIE-LCHlch(49.87, 72.32, 309.24°)
OKLaboklab(58.72% 0.0898 -0.1587)
OKLCHoklch(58.72% 0.182 299.5)
XYZxyz(27.2452, 18.3111, 66.3758)
Luminance0.1831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5CD7 #A5D75C
analogous
#5C68D7 #8E5CD7 #CB5CD7
triadic
#8E5CD7 #D78E5C #5CD78E
tetradic
#8E5CD7 #D75C68 #A5D75C #5CD7CB
square
#8E5CD7 #D75C68 #A5D75C #5CD7CB
split-complementary
#8E5CD7 #D7CB5C #68D75C
monochromatic
#522494 #6D30C5 #8E5CD7 #B08DE3 #D2BEEF

Accessibility & contrast

On white

4.50
#8E5CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#8E5CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5CD7
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5CD7#FFFFFF#000000##000000
##8E5CD71.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2076DB
Deuteranopia (green-blind)
#3676D4
Tritanopia (blue-blind)
#7E7591
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8e5cd7;
/* rgb */ color: rgb(142, 92, 215);
/* oklch */ color: oklch(58.7% 0.182 299.5);
Tailwind
colors: {
  custom: {
    50: '#b38ce4',
    500: '#8e5cd7',
    950: '#000000',
  },
}
SCSS
$custom: #8e5cd7;
$custom-light: #b38ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5cd7",
  "rgb": {
    "r": 142,
    "g": 92,
    "b": 215
  },
  "hsl": {
    "h": 264.39,
    "s": 60.591,
    "l": 60.196
  },
  "oklch": {
    "l": 0.5872,
    "c": 0.18235,
    "h": 299.5
  },
  "luminance": 0.18311
}

Semantic roles & 50–950 ramp

primary
#8E5CD7
secondary
#CCDFB0
accent
#C81D83
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8E5CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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