#8E5BCF#8E5BCF

#8E5BCF is a mid, vivid violet. Relative luminance 0.177; OKLCH L 58.1% C 0.174 H 301.5°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8E5BCF
RGBrgb(142, 91, 207)
HSLhsl(266, 55%, 58%)
HSVhsv(266, 56%, 81%)
CMYKcmyk(31.4%, 56%, 0%, 18.8%)
CIE-LABlab(49.18, 44.29, -52.56)
CIE-LCHlch(49.18, 68.73, 310.12°)
OKLaboklab(58.05% 0.091 -0.1486)
OKLCHoklch(58.05% 0.174 301.5)
XYZxyz(26.1563, 17.7379, 61.0651)
Luminance0.1774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5BCF #9CCF5B
analogous
#5B62CF #8E5BCF #C85BCF
triadic
#8E5BCF #CF8E5B #5BCF8E
tetradic
#8E5BCF #CF5B62 #9CCF5B #5BCFC8
square
#8E5BCF #CF5B62 #9CCF5B #5BCFC8
split-complementary
#8E5BCF #CFC85B #62CF5B
monochromatic
#522888 #6F36B7 #8E5BCF #AF8ADD #CFBAEB

Accessibility & contrast

On white

4.62
#8E5BCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#8E5BCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8E5BCF
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5BCF#FFFFFF#000000##FFFFFF
##8E5BCF1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A74D3
Deuteranopia (green-blind)
#3D74CC
Tritanopia (blue-blind)
#81728C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8e5bcf;
/* rgb */ color: rgb(142, 91, 207);
/* oklch */ color: oklch(58.1% 0.174 301.5);
Tailwind
colors: {
  custom: {
    50: '#b38bde',
    500: '#8e5bcf',
    950: '#000000',
  },
}
SCSS
$custom: #8e5bcf;
$custom-light: #b38bde;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5bcf",
  "rgb": {
    "r": 142,
    "g": 91,
    "b": 207
  },
  "hsl": {
    "h": 266.379,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58054,
    "c": 0.1742,
    "h": 301.5
  },
  "luminance": 0.17738
}

Semantic roles & 50–950 ramp

primary
#8E5BCF
secondary
#C6DAAC
accent
#DE4A9D
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8E5BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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