#8A57E6#8A57E6

#8A57E6 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.6% C 0.207 H 295.8°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#8A57E6
RGBrgb(138, 87, 230)
HSLhsl(261, 74%, 62%)
HSVhsv(261, 62%, 90%)
CMYKcmyk(40%, 62.2%, 0%, 9.8%)
CIE-LABlab(49.41, 51.40, -65.27)
CIE-LCHlch(49.41, 83.08, 308.22°)
OKLaboklab(58.6% 0.0898 -0.186)
OKLCHoklch(58.6% 0.207 295.8)
XYZxyz(28.1686, 17.9323, 76.8247)
Luminance0.1793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A57E6 #B3E657
analogous
#576BE6 #8A57E6 #D257E6
triadic
#8A57E6 #E68A57 #57E68A
tetradic
#8A57E6 #E6576B #B3E657 #57E6D2
square
#8A57E6 #E6576B #B3E657 #57E6D2
split-complementary
#8A57E6 #E6D257 #6BE657
monochromatic
#4D19A9 #6522DE #8A57E6 #AF8CEE #D4C2F6

Accessibility & contrast

On white

4.58
#8A57E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#8A57E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A57E6
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A57E6#FFFFFF#000000##000000
##8A57E61.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EB
Deuteranopia (green-blind)
#0073E3
Tritanopia (blue-blind)
#737797
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8a57e6;
/* rgb */ color: rgb(138, 87, 230);
/* oklch */ color: oklch(58.6% 0.207 295.8);
Tailwind
colors: {
  custom: {
    50: '#b289ef',
    500: '#8a57e6',
    950: '#000000',
  },
}
SCSS
$custom: #8a57e6;
$custom-light: #b289ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8a57e6",
  "rgb": {
    "r": 138,
    "g": 87,
    "b": 230
  },
  "hsl": {
    "h": 261.399,
    "s": 74.093,
    "l": 62.157
  },
  "oklch": {
    "l": 0.58601,
    "c": 0.20658,
    "h": 295.8
  },
  "luminance": 0.17933
}

Semantic roles & 50–950 ramp

primary
#8A57E6
secondary
#D4E7B2
accent
#D60F8F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8A57E6

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

Preview Lab → · Contrast checker → · Palette generator →

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