#8B57E4#8B57E4

#8B57E4 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.6% C 0.204 H 296.5°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#8B57E4
RGBrgb(139, 87, 228)
HSLhsl(262, 72%, 62%)
HSVhsv(262, 62%, 89%)
CMYKcmyk(39%, 61.8%, 0%, 10.6%)
CIE-LABlab(49.38, 51.09, -64.19)
CIE-LCHlch(49.38, 82.04, 308.52°)
OKLaboklab(58.56% 0.0913 -0.1828)
OKLCHoklch(58.56% 0.204 296.5)
XYZxyz(28.0556, 17.9063, 75.3619)
Luminance0.1791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B57E4 #B0E457
analogous
#576AE4 #8B57E4 #D257E4
triadic
#8B57E4 #E48B57 #57E48B
tetradic
#8B57E4 #E4576A #B0E457 #57E4D2
square
#8B57E4 #E4576A #B0E457 #57E4D2
split-complementary
#8B57E4 #E4D257 #6AE457
monochromatic
#4E1BA6 #6723DB #8B57E4 #AF8CEC #D4C0F5

Accessibility & contrast

On white

4.58
#8B57E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#8B57E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B57E4
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B57E4#FFFFFF#000000##000000
##8B57E41.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E8
Deuteranopia (green-blind)
#0074E1
Tritanopia (blue-blind)
#757796
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8b57e4;
/* rgb */ color: rgb(139, 87, 228);
/* oklch */ color: oklch(58.6% 0.204 296.5);
Tailwind
colors: {
  custom: {
    50: '#b389ed',
    500: '#8b57e4',
    950: '#000000',
  },
}
SCSS
$custom: #8b57e4;
$custom-light: #b389ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8b57e4",
  "rgb": {
    "r": 139,
    "g": 87,
    "b": 228
  },
  "hsl": {
    "h": 262.128,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.58559,
    "c": 0.20435,
    "h": 296.5
  },
  "luminance": 0.17907
}

Semantic roles & 50–950 ramp

primary
#8B57E4
secondary
#D2E6B1
accent
#D4118C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8B57E4

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

Preview Lab → · Contrast checker → · Palette generator →

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