#8D57F6#8D57F6

#8D57F6 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 60.1% C 0.225 H 294.2°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8D57F6
RGBrgb(141, 87, 246)
HSLhsl(260, 90%, 65%)
HSVhsv(260, 65%, 96%)
CMYKcmyk(42.7%, 64.6%, 0%, 3.5%)
CIE-LABlab(50.84, 56.15, -71.92)
CIE-LCHlch(50.84, 91.24, 307.98°)
OKLaboklab(60.06% 0.0923 -0.2055)
OKLCHoklch(60.06% 0.225 294.2)
XYZxyz(31.0228, 19.1321, 89.2293)
Luminance0.1913 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D57F6 #C0F657
analogous
#5771F6 #8D57F6 #DC57F6
triadic
#8D57F6 #F68D57 #57F68D
tetradic
#8D57F6 #F65771 #C0F657 #57F6DC
square
#8D57F6 #F65771 #C0F657 #57F6DC
split-complementary
#8D57F6 #F6DC57 #71F657
monochromatic
#4B0BC8 #661DF3 #8D57F6 #B491F9 #DCCBFC

Accessibility & contrast

On white

4.35
#8D57F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#8D57F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D57F6
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D57F6#FFFFFF#000000##000000
##8D57F61.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFB
Deuteranopia (green-blind)
#0076F3
Tritanopia (blue-blind)
#707D9F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8d57f6;
/* rgb */ color: rgb(141, 87, 246);
/* oklch */ color: oklch(60.1% 0.225 294.2);
Tailwind
colors: {
  custom: {
    50: '#b689fa',
    500: '#8d57f6',
    950: '#000000',
  },
}
SCSS
$custom: #8d57f6;
$custom-light: #b689fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8d57f6",
  "rgb": {
    "r": 141,
    "g": 87,
    "b": 246
  },
  "hsl": {
    "h": 260.377,
    "s": 89.831,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60057,
    "c": 0.22526,
    "h": 294.2
  },
  "luminance": 0.19133
}

Semantic roles & 50–950 ramp

primary
#8D57F6
secondary
#DDEFBA
accent
#E60098
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D57F6

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

Preview Lab → · Contrast checker → · Palette generator →

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