#8E5FCA#8E5FCA

#8E5FCA is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.4% C 0.162 H 301.9°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8E5FCA
RGBrgb(142, 95, 202)
HSLhsl(266, 50%, 58%)
HSVhsv(266, 53%, 79%)
CMYKcmyk(29.7%, 53%, 0%, 20.8%)
CIE-LABlab(49.74, 40.83, -48.80)
CIE-LCHlch(49.74, 63.63, 309.92°)
OKLaboklab(58.37% 0.0856 -0.1376)
OKLCHoklch(58.37% 0.162 301.9)
XYZxyz(25.9058, 18.1994, 58.0137)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5FCA #9BCA5F
analogous
#5F65CA #8E5FCA #C35FCA
triadic
#8E5FCA #CA8E5F #5FCA8E
tetradic
#8E5FCA #CA5F65 #9BCA5F #5FCAC3
square
#8E5FCA #CA5F65 #9BCA5F #5FCAC3
split-complementary
#8E5FCA #CAC35F #65CA5F
monochromatic
#522B83 #6F3BB1 #8E5FCA #AE8DD9 #CFBBE8

Accessibility & contrast

On white

4.53
#8E5FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#8E5FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5FCA
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5FCA#FFFFFF#000000##000000
##8E5FCA1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3976CE
Deuteranopia (green-blind)
#4776C7
Tritanopia (blue-blind)
#83738B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8e5fca;
/* rgb */ color: rgb(142, 95, 202);
/* oklch */ color: oklch(58.4% 0.162 301.9);
Tailwind
colors: {
  custom: {
    50: '#b28edb',
    500: '#8e5fca',
    950: '#000000',
  },
}
SCSS
$custom: #8e5fca;
$custom-light: #b28edb;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5fca",
  "rgb": {
    "r": 142,
    "g": 95,
    "b": 202
  },
  "hsl": {
    "h": 266.355,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58373,
    "c": 0.16201,
    "h": 301.9
  },
  "luminance": 0.18199
}

Semantic roles & 50–950 ramp

primary
#8E5FCA
secondary
#C5D8AD
accent
#DA4E9C
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8E5FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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