#8D57D9#8D57D9

#8D57D9 is a mid, vivid violet. Relative luminance 0.175; OKLCH L 58.0% C 0.192 H 299.5°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#8D57D9
RGBrgb(141, 87, 217)
HSLhsl(265, 63%, 60%)
HSVhsv(265, 60%, 85%)
CMYKcmyk(35%, 59.9%, 0%, 14.9%)
CIE-LABlab(48.87, 48.72, -58.77)
CIE-LCHlch(48.87, 76.34, 309.66°)
OKLaboklab(58% 0.0945 -0.1668)
OKLCHoklch(58% 0.192 299.5)
XYZxyz(26.9140, 17.4886, 67.5899)
Luminance0.1749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D57D9 #A3D957
analogous
#5762D9 #8D57D9 #CE57D9
triadic
#8D57D9 #D98D57 #57D98D
tetradic
#8D57D9 #D95762 #A3D957 #57D9CE
square
#8D57D9 #D95762 #A3D957 #57D9CE
split-complementary
#8D57D9 #D9CE57 #62D957
monochromatic
#512194 #6C2DC6 #8D57D9 #AF89E4 #D1BBF0

Accessibility & contrast

On white

4.67
#8D57D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#8D57D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8D57D9
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D57D9#FFFFFF#000000##FFFFFF
##8D57D91.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074DD
Deuteranopia (green-blind)
#2873D6
Tritanopia (blue-blind)
#7C7390
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8d57d9;
/* rgb */ color: rgb(141, 87, 217);
/* oklch */ color: oklch(58.0% 0.192 299.5);
Tailwind
colors: {
  custom: {
    50: '#b389e5',
    500: '#8d57d9',
    950: '#000000',
  },
}
SCSS
$custom: #8d57d9;
$custom-light: #b389e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d57d9",
  "rgb": {
    "r": 141,
    "g": 87,
    "b": 217
  },
  "hsl": {
    "h": 264.923,
    "s": 63.107,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58004,
    "c": 0.19171,
    "h": 299.5
  },
  "luminance": 0.17489
}

Semantic roles & 50–950 ramp

primary
#8D57D9
secondary
#CADFAD
accent
#E642A2
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8D57D9

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

Preview Lab → · Contrast checker → · Palette generator →

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