#8C5EEF#8C5EEF

#8C5EEF is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.4% C 0.208 H 293.9°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#8C5EEF
RGBrgb(140, 94, 239)
HSLhsl(259, 82%, 65%)
HSVhsv(259, 61%, 94%)
CMYKcmyk(41.4%, 60.7%, 0%, 6.3%)
CIE-LABlab(51.62, 50.43, -66.74)
CIE-LCHlch(51.62, 83.65, 307.08°)
OKLaboklab(60.45% 0.0842 -0.1903)
OKLCHoklch(60.45% 0.208 293.9)
XYZxyz(30.3937, 19.8121, 83.8674)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C5EEF #C1EF5E
analogous
#5E79EF #8C5EEF #D45EEF
triadic
#8C5EEF #EF8C5E #5EEF8C
tetradic
#8C5EEF #EF5E79 #C1EF5E #5EEFD4
square
#8C5EEF #EF5E79 #C1EF5E #5EEFD4
split-complementary
#8C5EEF #EFD45E #79EF5E
monochromatic
#4A13C0 #6426E9 #8C5EEF #B496F5 #DCCDFA

Accessibility & contrast

On white

4.23
#8C5EEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#8C5EEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C5EEF
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C5EEF#FFFFFF#000000##000000
##8C5EEF1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF4
Deuteranopia (green-blind)
#0079EC
Tritanopia (blue-blind)
#717F9E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8c5eef;
/* rgb */ color: rgb(140, 94, 239);
/* oklch */ color: oklch(60.4% 0.208 293.9);
Tailwind
colors: {
  custom: {
    50: '#b48ef5',
    500: '#8c5eef',
    950: '#000000',
  },
}
SCSS
$custom: #8c5eef;
$custom-light: #b48ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#8c5eef",
  "rgb": {
    "r": 140,
    "g": 94,
    "b": 239
  },
  "hsl": {
    "h": 259.034,
    "s": 81.921,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60448,
    "c": 0.2081,
    "h": 293.9
  },
  "luminance": 0.19813
}

Semantic roles & 50–950 ramp

primary
#8C5EEF
secondary
#DDEDBC
accent
#DE079A
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8C5EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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