#8C57EA#8C57EA

#8C57EA is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.1% C 0.211 H 295.8°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#8C57EA
RGBrgb(140, 87, 234)
HSLhsl(262, 78%, 63%)
HSVhsv(262, 63%, 92%)
CMYKcmyk(40.2%, 62.8%, 0%, 8.2%)
CIE-LABlab(49.90, 52.85, -66.73)
CIE-LCHlch(49.90, 85.12, 308.38°)
OKLaboklab(59.09% 0.0922 -0.1903)
OKLCHoklch(59.09% 0.211 295.8)
XYZxyz(29.0708, 18.3318, 79.8327)
Luminance0.1833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C57EA #B5EA57
analogous
#576BEA #8C57EA #D657EA
triadic
#8C57EA #EA8C57 #57EA8C
tetradic
#8C57EA #EA576B #B5EA57 #57EAD6
square
#8C57EA #EA576B #B5EA57 #57EAD6
split-complementary
#8C57EA #EAD657 #6BEA57
monochromatic
#4E16B1 #6721E3 #8C57EA #B18DF1 #D6C4F8

Accessibility & contrast

On white

4.50
#8C57EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#8C57EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C57EA
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C57EA#FFFFFF#000000##000000
##8C57EA1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EF
Deuteranopia (green-blind)
#0075E7
Tritanopia (blue-blind)
#747999
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8c57ea;
/* rgb */ color: rgb(140, 87, 234);
/* oklch */ color: oklch(59.1% 0.211 295.8);
Tailwind
colors: {
  custom: {
    50: '#b489f2',
    500: '#8c57ea',
    950: '#000000',
  },
}
SCSS
$custom: #8c57ea;
$custom-light: #b489f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8c57ea",
  "rgb": {
    "r": 140,
    "g": 87,
    "b": 234
  },
  "hsl": {
    "h": 261.633,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.59085,
    "c": 0.21141,
    "h": 295.8
  },
  "luminance": 0.18332
}

Semantic roles & 50–950 ramp

primary
#8C57EA
secondary
#D6E9B4
accent
#DA0B90
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8C57EA

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

Preview Lab → · Contrast checker → · Palette generator →

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