#8C5CF9#8C5CF9

#8C5CF9 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.9% C 0.222 H 292.6°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8C5CF9
RGBrgb(140, 92, 249)
HSLhsl(258, 93%, 67%)
HSVhsv(258, 63%, 98%)
CMYKcmyk(43.8%, 63.1%, 0%, 2.4%)
CIE-LABlab(51.91, 54.14, -71.85)
CIE-LCHlch(51.91, 89.97, 307.00°)
OKLaboklab(60.88% 0.0856 -0.2053)
OKLCHoklch(60.88% 0.222 292.6)
XYZxyz(31.7365, 20.0683, 91.8056)
Luminance0.2007 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C5CF9 #C9F95C
analogous
#5C7BF9 #8C5CF9 #DB5CF9
triadic
#8C5CF9 #F98C5C #5CF98C
tetradic
#8C5CF9 #F95C7B #C9F95C #5CF9DB
square
#8C5CF9 #F95C7B #C9F95C #5CF9DB
split-complementary
#8C5CF9 #F9DB5C #7BF95C
monochromatic
#4608D3 #6221F7 #8C5CF9 #B697FB #DFD2FD

Accessibility & contrast

On white

4.19
#8C5CF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#8C5CF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C5CF9
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C5CF9#FFFFFF#000000##000000
##8C5CF91.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFE
Deuteranopia (green-blind)
#0079F6
Tritanopia (blue-blind)
#6D81A2
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8c5cf9;
/* rgb */ color: rgb(140, 92, 249);
/* oklch */ color: oklch(60.9% 0.222 292.6);
Tailwind
colors: {
  custom: {
    50: '#b58dfc',
    500: '#8c5cf9',
    950: '#000000',
  },
}
SCSS
$custom: #8c5cf9;
$custom-light: #b58dfc;
$custom-dark: #000000;
JSON
{
  "hex": "#8c5cf9",
  "rgb": {
    "r": 140,
    "g": 92,
    "b": 249
  },
  "hsl": {
    "h": 258.344,
    "s": 92.899,
    "l": 66.863
  },
  "oklch": {
    "l": 0.60876,
    "c": 0.22245,
    "h": 292.6
  },
  "luminance": 0.20069
}

Semantic roles & 50–950 ramp

primary
#8C5CF9
secondary
#E2F2BF
accent
#E6009F
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #8C5CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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