#8C5FED#8C5FED

#8C5FED is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.5% C 0.204 H 294.0°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#8C5FED
RGBrgb(140, 95, 237)
HSLhsl(259, 80%, 65%)
HSVhsv(259, 60%, 93%)
CMYKcmyk(40.9%, 59.9%, 0%, 7.1%)
CIE-LABlab(51.69, 49.36, -65.51)
CIE-LCHlch(51.69, 82.02, 307.00°)
OKLaboklab(60.46% 0.0832 -0.1867)
OKLCHoklch(60.46% 0.204 294)
XYZxyz(30.1894, 19.8735, 82.3497)
Luminance0.1987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C5FED #C0ED5F
analogous
#5F79ED #8C5FED #D35FED
triadic
#8C5FED #ED8C5F #5FED8C
tetradic
#8C5FED #ED5F79 #C0ED5F #5FEDD3
square
#8C5FED #ED5F79 #C0ED5F #5FEDD3
split-complementary
#8C5FED #EDD35F #79ED5F
monochromatic
#4A15BC #6428E7 #8C5FED #B496F3 #DBCDF9

Accessibility & contrast

On white

4.22
#8C5FED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#8C5FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C5FED
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C5FED#FFFFFF#000000##000000
##8C5FED1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF2
Deuteranopia (green-blind)
#0679EA
Tritanopia (blue-blind)
#727F9D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8c5fed;
/* rgb */ color: rgb(140, 95, 237);
/* oklch */ color: oklch(60.5% 0.204 294.0);
Tailwind
colors: {
  custom: {
    50: '#b48ef4',
    500: '#8c5fed',
    950: '#000000',
  },
}
SCSS
$custom: #8c5fed;
$custom-light: #b48ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#8c5fed",
  "rgb": {
    "r": 140,
    "g": 95,
    "b": 237
  },
  "hsl": {
    "h": 259.014,
    "s": 79.775,
    "l": 65.098
  },
  "oklch": {
    "l": 0.60456,
    "c": 0.20439,
    "h": 294
  },
  "luminance": 0.19874
}

Semantic roles & 50–950 ramp

primary
#8C5FED
secondary
#DDECBC
accent
#DC0999
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8C5FED

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

Preview Lab → · Contrast checker → · Palette generator →

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