#8E5CCF#8E5CCF

#8E5CCF is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.2% C 0.173 H 301.3°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#8E5CCF
RGBrgb(142, 92, 207)
HSLhsl(266, 55%, 59%)
HSVhsv(266, 56%, 81%)
CMYKcmyk(31.4%, 55.6%, 0%, 18.8%)
CIE-LABlab(49.39, 43.74, -52.22)
CIE-LCHlch(49.39, 68.12, 309.95°)
OKLaboklab(58.21% 0.0897 -0.1476)
OKLCHoklch(58.21% 0.173 301.3)
XYZxyz(26.2423, 17.9100, 61.0938)
Luminance0.1791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5CCF #9DCF5C
analogous
#5C63CF #8E5CCF #C75CCF
triadic
#8E5CCF #CF8E5C #5CCF8E
tetradic
#8E5CCF #CF5C63 #9DCF5C #5CCFC7
square
#8E5CCF #CF5C63 #9DCF5C #5CCFC7
split-complementary
#8E5CCF #CFC75C #63CF5C
monochromatic
#522888 #6E36B8 #8E5CCF #AF8BDD #D0BBEB

Accessibility & contrast

On white

4.58
#8E5CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#8E5CCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5CCF
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5CCF#FFFFFF#000000##000000
##8E5CCF1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D75D3
Deuteranopia (green-blind)
#3F75CC
Tritanopia (blue-blind)
#81738D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8e5ccf;
/* rgb */ color: rgb(142, 92, 207);
/* oklch */ color: oklch(58.2% 0.173 301.3);
Tailwind
colors: {
  custom: {
    50: '#b38cde',
    500: '#8e5ccf',
    950: '#000000',
  },
}
SCSS
$custom: #8e5ccf;
$custom-light: #b38cde;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5ccf",
  "rgb": {
    "r": 142,
    "g": 92,
    "b": 207
  },
  "hsl": {
    "h": 266.087,
    "s": 54.502,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58209,
    "c": 0.1727,
    "h": 301.3
  },
  "luminance": 0.1791
}

Semantic roles & 50–950 ramp

primary
#8E5CCF
secondary
#C6DAAD
accent
#DE4A9E
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8E5CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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