#8C5CEC#8C5CEC

#8C5CEC is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 59.9% C 0.207 H 294.7°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8C5CEC
RGBrgb(140, 92, 236)
HSLhsl(260, 79%, 64%)
HSVhsv(260, 61%, 93%)
CMYKcmyk(40.7%, 61%, 0%, 7.5%)
CIE-LABlab(51.02, 50.72, -66.04)
CIE-LCHlch(51.02, 83.27, 307.52°)
OKLaboklab(59.94% 0.0866 -0.1882)
OKLCHoklch(59.94% 0.207 294.7)
XYZxyz(29.7787, 19.2852, 81.4941)
Luminance0.1929 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C5CEC #BCEC5C
analogous
#5C74EC #8C5CEC #D45CEC
triadic
#8C5CEC #EC8C5C #5CEC8C
tetradic
#8C5CEC #EC5C74 #BCEC5C #5CECD4
square
#8C5CEC #EC5C74 #BCEC5C #5CECD4
split-complementary
#8C5CEC #ECD45C #74EC5C
monochromatic
#4C15B8 #6525E6 #8C5CEC #B393F2 #D9CAF9

Accessibility & contrast

On white

4.32
#8C5CEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#8C5CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C5CEC
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C5CEC#FFFFFF#000000##000000
##8C5CEC1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF1
Deuteranopia (green-blind)
#0077E9
Tritanopia (blue-blind)
#737C9C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8c5cec;
/* rgb */ color: rgb(140, 92, 236);
/* oklch */ color: oklch(59.9% 0.207 294.7);
Tailwind
colors: {
  custom: {
    50: '#b48cf3',
    500: '#8c5cec',
    950: '#000000',
  },
}
SCSS
$custom: #8c5cec;
$custom-light: #b48cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#8c5cec",
  "rgb": {
    "r": 140,
    "g": 92,
    "b": 236
  },
  "hsl": {
    "h": 260,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59943,
    "c": 0.20719,
    "h": 294.7
  },
  "luminance": 0.19286
}

Semantic roles & 50–950 ramp

primary
#8C5CEC
secondary
#DAEBB9
accent
#DB0A96
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8C5CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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