#8D57EB#8D57EB

#8D57EB is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.3% C 0.213 H 296.1°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#8D57EB
RGBrgb(141, 87, 235)
HSLhsl(262, 79%, 63%)
HSVhsv(262, 63%, 92%)
CMYKcmyk(40%, 63%, 0%, 7.8%)
CIE-LABlab(50.07, 53.31, -67.01)
CIE-LCHlch(50.07, 85.62, 308.50°)
OKLaboklab(59.26% 0.0934 -0.191)
OKLCHoklch(59.26% 0.213 296.1)
XYZxyz(29.3842, 18.4767, 80.5994)
Luminance0.1848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D57EB #B5EB57
analogous
#576BEB #8D57EB #D757EB
triadic
#8D57EB #EB8D57 #57EB8D
tetradic
#8D57EB #EB576B #B5EB57 #57EBD7
square
#8D57EB #EB576B #B5EB57 #57EBD7
split-complementary
#8D57EB #EBD757 #6BEB57
monochromatic
#4F15B2 #6820E4 #8D57EB #B28EF2 #D7C4F8

Accessibility & contrast

On white

4.47
#8D57EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#8D57EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D57EB
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D57EB#FFFFFF#000000##000000
##8D57EB1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d57eb;
/* rgb */ color: rgb(141, 87, 235);
/* oklch */ color: oklch(59.3% 0.213 296.1);
Tailwind
colors: {
  custom: {
    50: '#b489f2',
    500: '#8d57eb',
    950: '#000000',
  },
}
SCSS
$custom: #8d57eb;
$custom-light: #b489f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d57eb",
  "rgb": {
    "r": 141,
    "g": 87,
    "b": 235
  },
  "hsl": {
    "h": 261.892,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.59256,
    "c": 0.21265,
    "h": 296.1
  },
  "luminance": 0.18477
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D57EB

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

Preview Lab → · Contrast checker → · Palette generator →

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