#8E5FCF#8E5FCF

#8E5FCF is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.7% C 0.168 H 300.7°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#8E5FCF
RGBrgb(142, 95, 207)
HSLhsl(265, 54%, 59%)
HSVhsv(265, 54%, 81%)
CMYKcmyk(31.4%, 54.1%, 0%, 18.8%)
CIE-LABlab(50.03, 42.08, -51.20)
CIE-LCHlch(50.03, 66.27, 309.42°)
OKLaboklab(58.68% 0.0859 -0.1446)
OKLCHoklch(58.68% 0.168 300.7)
XYZxyz(26.5074, 18.4401, 61.1822)
Luminance0.1844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5FCF #A0CF5F
analogous
#5F68CF #8E5FCF #C65FCF
triadic
#8E5FCF #CF8E5F #5FCF8E
tetradic
#8E5FCF #CF5F68 #A0CF5F #5FCFC6
square
#8E5FCF #CF5F68 #A0CF5F #5FCFC6
split-complementary
#8E5FCF #CFC65F #68CF5F
monochromatic
#52298A #6E38B9 #8E5FCF #AF8EDD #D0BDEB

Accessibility & contrast

On white

4.48
#8E5FCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#8E5FCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5FCF
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5FCF#FFFFFF#000000##000000
##8E5FCF1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3477D3
Deuteranopia (green-blind)
#4376CC
Tritanopia (blue-blind)
#81758E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8e5fcf;
/* rgb */ color: rgb(142, 95, 207);
/* oklch */ color: oklch(58.7% 0.168 300.7);
Tailwind
colors: {
  custom: {
    50: '#b28ede',
    500: '#8e5fcf',
    950: '#000000',
  },
}
SCSS
$custom: #8e5fcf;
$custom-light: #b28ede;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5fcf",
  "rgb": {
    "r": 142,
    "g": 95,
    "b": 207
  },
  "hsl": {
    "h": 265.179,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.5868,
    "c": 0.16816,
    "h": 300.7
  },
  "luminance": 0.1844
}

Semantic roles & 50–950 ramp

primary
#8E5FCF
secondary
#C8DBAF
accent
#DD4BA0
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8E5FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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