#8D57D4#8D57D4

#8D57D4 is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.7% C 0.186 H 300.6°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#8D57D4
RGBrgb(141, 87, 212)
HSLhsl(266, 59%, 59%)
HSVhsv(266, 59%, 83%)
CMYKcmyk(33.5%, 59%, 0%, 16.9%)
CIE-LABlab(48.55, 47.47, -56.43)
CIE-LCHlch(48.55, 73.74, 310.07°)
OKLaboklab(57.67% 0.0946 -0.1599)
OKLCHoklch(57.67% 0.186 300.6)
XYZxyz(26.2735, 17.2324, 64.2166)
Luminance0.1723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D57D4 #9ED457
analogous
#575FD4 #8D57D4 #CB57D4
triadic
#8D57D4 #D48D57 #57D48D
tetradic
#8D57D4 #D4575F #9ED457 #57D4CB
square
#8D57D4 #D4575F #9ED457 #57D4CB
split-complementary
#8D57D4 #D4CB57 #5FD457
monochromatic
#51248D #6D30BD #8D57D4 #AE88E0 #CFB8ED

Accessibility & contrast

On white

4.72
#8D57D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#8D57D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D57D4
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D57D4#FFFFFF#000000##FFFFFF
##8D57D41.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1273D8
Deuteranopia (green-blind)
#3073D1
Tritanopia (blue-blind)
#7E718D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8d57d4;
/* rgb */ color: rgb(141, 87, 212);
/* oklch */ color: oklch(57.7% 0.186 300.6);
Tailwind
colors: {
  custom: {
    50: '#b289e2',
    500: '#8d57d4',
    950: '#000000',
  },
}
SCSS
$custom: #8d57d4;
$custom-light: #b289e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d57d4",
  "rgb": {
    "r": 141,
    "g": 87,
    "b": 212
  },
  "hsl": {
    "h": 265.92,
    "s": 59.242,
    "l": 58.627
  },
  "oklch": {
    "l": 0.5767,
    "c": 0.18583,
    "h": 300.6
  },
  "luminance": 0.17233
}

Semantic roles & 50–950 ramp

primary
#8D57D4
secondary
#C7DCAB
accent
#E2459F
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8D57D4

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

Preview Lab → · Contrast checker → · Palette generator →

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