#8C57EB#8C57EB

#8C57EB is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.2% C 0.213 H 295.7°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#8C57EB
RGBrgb(140, 87, 235)
HSLhsl(261, 79%, 63%)
HSVhsv(261, 63%, 92%)
CMYKcmyk(40.4%, 63%, 0%, 7.8%)
CIE-LABlab(49.97, 53.10, -67.18)
CIE-LCHlch(49.97, 85.64, 308.32°)
OKLaboklab(59.16% 0.0921 -0.1916)
OKLCHoklch(59.16% 0.213 295.7)
XYZxyz(29.2149, 18.3894, 80.5914)
Luminance0.1839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C57EB #B6EB57
analogous
#576CEB #8C57EB #D657EB
triadic
#8C57EB #EB8C57 #57EB8C
tetradic
#8C57EB #EB576C #B6EB57 #57EBD6
square
#8C57EB #EB576C #B6EB57 #57EBD6
split-complementary
#8C57EB #EBD657 #6CEB57
monochromatic
#4E15B2 #6720E4 #8C57EB #B18EF2 #D7C4F8

Accessibility & contrast

On white

4.49
#8C57EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#8C57EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C57EB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C57EB#FFFFFF#000000##000000
##8C57EB1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8c57eb;
/* rgb */ color: rgb(140, 87, 235);
/* oklch */ color: oklch(59.2% 0.213 295.7);
Tailwind
colors: {
  custom: {
    50: '#b489f2',
    500: '#8c57eb',
    950: '#000000',
  },
}
SCSS
$custom: #8c57eb;
$custom-light: #b489f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8c57eb",
  "rgb": {
    "r": 140,
    "g": 87,
    "b": 235
  },
  "hsl": {
    "h": 261.486,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.59157,
    "c": 0.21256,
    "h": 295.7
  },
  "luminance": 0.1839
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8C57EB

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

Preview Lab → · Contrast checker → · Palette generator →

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