#8E5FCD#8E5FCD

#8E5FCD is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.6% C 0.166 H 301.2°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#8E5FCD
RGBrgb(142, 95, 205)
HSLhsl(266, 52%, 59%)
HSVhsv(266, 54%, 80%)
CMYKcmyk(30.7%, 53.7%, 0%, 19.6%)
CIE-LABlab(49.91, 41.58, -50.24)
CIE-LCHlch(49.91, 65.22, 309.61°)
OKLaboklab(58.56% 0.0858 -0.1418)
OKLCHoklch(58.56% 0.166 301.2)
XYZxyz(26.2644, 18.3429, 59.9026)
Luminance0.1834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5FCD #9ECD5F
analogous
#5F67CD #8E5FCD #C55FCD
triadic
#8E5FCD #CD8E5F #5FCD8E
tetradic
#8E5FCD #CD5F67 #9ECD5F #5FCDC5
square
#8E5FCD #CD5F67 #9ECD5F #5FCDC5
split-complementary
#8E5FCD #CDC55F #67CD5F
monochromatic
#522A87 #6E39B6 #8E5FCD #AF8EDC #D0BCEA

Accessibility & contrast

On white

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

On black

4.67
#8E5FCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5FCD
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5FCD#FFFFFF#000000##000000
##8E5FCD1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3676D1
Deuteranopia (green-blind)
#4576CA
Tritanopia (blue-blind)
#82748D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8e5fcd;
/* rgb */ color: rgb(142, 95, 205);
/* oklch */ color: oklch(58.6% 0.166 301.2);
Tailwind
colors: {
  custom: {
    50: '#b28edd',
    500: '#8e5fcd',
    950: '#000000',
  },
}
SCSS
$custom: #8e5fcd;
$custom-light: #b28edd;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5fcd",
  "rgb": {
    "r": 142,
    "g": 95,
    "b": 205
  },
  "hsl": {
    "h": 265.636,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58556,
    "c": 0.16571,
    "h": 301.2
  },
  "luminance": 0.18343
}

Semantic roles & 50–950 ramp

primary
#8E5FCD
secondary
#C7DAAE
accent
#DC4C9E
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8E5FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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