#8A57FF#8A57FF

#8A57FF is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.4% C 0.235 H 291.7°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8A57FF
RGBrgb(138, 87, 255)
HSLhsl(258, 100%, 67%)
HSVhsv(258, 66%, 100%)
CMYKcmyk(45.9%, 65.9%, 0%, 0%)
CIE-LABlab(51.20, 57.96, -76.36)
CIE-LCHlch(51.20, 95.86, 307.20°)
OKLaboklab(60.45% 0.0872 -0.2186)
OKLCHoklch(60.45% 0.235 291.7)
XYZxyz(31.9344, 19.4386, 96.6578)
Luminance0.1944 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A57FF #CCFF57
analogous
#5778FF #8A57FF #DE57FF
triadic
#8A57FF #FF8A57 #57FF8A
tetradic
#8A57FF #FF5778 #CCFF57 #57FFDE
square
#8A57FF #FF5778 #CCFF57 #57FFDE
split-complementary
#8A57FF #FFDE57 #78FF57
monochromatic
#4300DC #5F1AFF #8A57FF #B594FF #DFD1FF

Accessibility & contrast

On white

4.30
#8A57FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#8A57FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A57FF
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A57FF#FFFFFF#000000##000000
##8A57FF1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFF
Deuteranopia (green-blind)
#0076FC
Tritanopia (blue-blind)
#6680A4
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a57ff;
/* rgb */ color: rgb(138, 87, 255);
/* oklch */ color: oklch(60.4% 0.235 291.7);
Tailwind
colors: {
  custom: {
    50: '#b589ff',
    500: '#8a57ff',
    950: '#000000',
  },
}
SCSS
$custom: #8a57ff;
$custom-light: #b589ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a57ff",
  "rgb": {
    "r": 138,
    "g": 87,
    "b": 255
  },
  "hsl": {
    "h": 258.214,
    "s": 100,
    "l": 67.059
  },
  "oklch": {
    "l": 0.60448,
    "c": 0.23539,
    "h": 291.7
  },
  "luminance": 0.1944
}

Semantic roles & 50–950 ramp

primary
#8A57FF
secondary
#E3F4BE
accent
#E600A0
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #8A57FF

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

Preview Lab → · Contrast checker → · Palette generator →

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