#8C5CED#8C5CED

#8C5CED is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.0% C 0.208 H 294.5°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#8C5CED
RGBrgb(140, 92, 237)
HSLhsl(260, 80%, 65%)
HSVhsv(260, 61%, 93%)
CMYKcmyk(40.9%, 61.2%, 0%, 7.1%)
CIE-LABlab(51.09, 50.98, -66.49)
CIE-LCHlch(51.09, 83.78, 307.48°)
OKLaboklab(60.01% 0.0865 -0.1896)
OKLCHoklch(60.01% 0.208 294.5)
XYZxyz(29.9244, 19.3434, 82.2614)
Luminance0.1934 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C5CED #BDED5C
analogous
#5C75ED #8C5CED #D45CED
triadic
#8C5CED #ED8C5C #5CED8C
tetradic
#8C5CED #ED5C75 #BDED5C #5CEDD4
square
#8C5CED #ED5C75 #BDED5C #5CEDD4
split-complementary
#8C5CED #EDD45C #75ED5C
monochromatic
#4B15BA #6525E7 #8C5CED #B393F3 #DACAF9

Accessibility & contrast

On white

4.31
#8C5CED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#8C5CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C5CED
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C5CED#FFFFFF#000000##000000
##8C5CED1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF2
Deuteranopia (green-blind)
#0077EA
Tritanopia (blue-blind)
#727D9C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8c5ced;
/* rgb */ color: rgb(140, 92, 237);
/* oklch */ color: oklch(60.0% 0.208 294.5);
Tailwind
colors: {
  custom: {
    50: '#b48cf4',
    500: '#8c5ced',
    950: '#000000',
  },
}
SCSS
$custom: #8c5ced;
$custom-light: #b48cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#8c5ced",
  "rgb": {
    "r": 140,
    "g": 92,
    "b": 237
  },
  "hsl": {
    "h": 259.862,
    "s": 80.11,
    "l": 64.51
  },
  "oklch": {
    "l": 0.60014,
    "c": 0.20837,
    "h": 294.5
  },
  "luminance": 0.19344
}

Semantic roles & 50–950 ramp

primary
#8C5CED
secondary
#DBEBB9
accent
#DC0996
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8C5CED

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

Preview Lab → · Contrast checker → · Palette generator →

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