#8A57DE#8A57DE

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

Color values

HEX#8A57DE
RGBrgb(138, 87, 222)
HSLhsl(263, 67%, 61%)
HSVhsv(263, 61%, 87%)
CMYKcmyk(37.8%, 60.8%, 0%, 12.9%)
CIE-LABlab(48.88, 49.34, -61.61)
CIE-LCHlch(48.88, 78.93, 308.69°)
OKLaboklab(58.04% 0.0903 -0.1753)
OKLCHoklch(58.04% 0.197 297.3)
XYZxyz(27.0709, 17.4932, 71.0433)
Luminance0.1749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A57DE #ABDE57
analogous
#5767DE #8A57DE #CE57DE
triadic
#8A57DE #DE8A57 #57DE8A
tetradic
#8A57DE #DE5767 #ABDE57 #57DECE
square
#8A57DE #DE5767 #ABDE57 #57DECE
split-complementary
#8A57DE #DECE57 #67DE57
monochromatic
#4E1F9C #6829CF #8A57DE #AE8AE8 #D1BDF2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A57DE#FFFFFF#000000##FFFFFF
##8A57DE1.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)
#0075E2
Deuteranopia (green-blind)
#1873DB
Tritanopia (blue-blind)
#767592
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8a57de;
/* rgb */ color: rgb(138, 87, 222);
/* oklch */ color: oklch(58.0% 0.197 297.3);
Tailwind
colors: {
  custom: {
    50: '#b189e9',
    500: '#8a57de',
    950: '#000000',
  },
}
SCSS
$custom: #8a57de;
$custom-light: #b189e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a57de",
  "rgb": {
    "r": 138,
    "g": 87,
    "b": 222
  },
  "hsl": {
    "h": 262.667,
    "s": 67.164,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58039,
    "c": 0.19719,
    "h": 297.3
  },
  "luminance": 0.17494
}

Semantic roles & 50–950 ramp

primary
#8A57DE
secondary
#CFE2AF
accent
#CF1689
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8A57DE

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

Preview Lab → · Contrast checker → · Palette generator →

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