#8B57EC#8B57EC

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

Color values

HEX#8B57EC
RGBrgb(139, 87, 236)
HSLhsl(261, 80%, 63%)
HSVhsv(261, 63%, 93%)
CMYKcmyk(41.1%, 63.1%, 0%, 7.5%)
CIE-LABlab(49.93, 53.16, -67.80)
CIE-LCHlch(49.93, 86.16, 308.10°)
OKLaboklab(59.13% 0.0907 -0.1935)
OKLCHoklch(59.13% 0.214 295.1)
XYZxyz(29.1920, 18.3608, 81.3466)
Luminance0.1836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B57EC #B8EC57
analogous
#576DEC #8B57EC #D657EC
triadic
#8B57EC #EC8B57 #57EC8B
tetradic
#8B57EC #EC576D #B8EC57 #57ECD6
square
#8B57EC #EC576D #B8EC57 #57ECD6
split-complementary
#8B57EC #ECD657 #6DEC57
monochromatic
#4C14B4 #6520E6 #8B57EC #B18EF2 #D7C5F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B57EC#FFFFFF#000000##000000
##8B57EC1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F1
Deuteranopia (green-blind)
#0074E9
Tritanopia (blue-blind)
#72799A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8b57ec;
/* rgb */ color: rgb(139, 87, 236);
/* oklch */ color: oklch(59.1% 0.214 295.1);
Tailwind
colors: {
  custom: {
    50: '#b389f3',
    500: '#8b57ec',
    950: '#000000',
  },
}
SCSS
$custom: #8b57ec;
$custom-light: #b389f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b57ec",
  "rgb": {
    "r": 139,
    "g": 87,
    "b": 236
  },
  "hsl": {
    "h": 260.94,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.5913,
    "c": 0.21365,
    "h": 295.1
  },
  "luminance": 0.18361
}

Semantic roles & 50–950 ramp

primary
#8B57EC
secondary
#D7EAB5
accent
#DC0A93
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8B57EC

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

Preview Lab → · Contrast checker → · Palette generator →

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