#8A57F6#8A57F6

#8A57F6 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.8% C 0.225 H 293.1°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#8A57F6
RGBrgb(138, 87, 246)
HSLhsl(259, 90%, 65%)
HSVhsv(259, 65%, 96%)
CMYKcmyk(43.9%, 64.6%, 0%, 3.5%)
CIE-LABlab(50.54, 55.58, -72.42)
CIE-LCHlch(50.54, 91.29, 307.51°)
OKLaboklab(59.77% 0.0883 -0.2071)
OKLCHoklch(59.77% 0.225 293.1)
XYZxyz(30.5194, 18.8726, 89.2057)
Luminance0.1887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A57F6 #C3F657
analogous
#5773F6 #8A57F6 #D957F6
triadic
#8A57F6 #F68A57 #57F68A
tetradic
#8A57F6 #F65773 #C3F657 #57F6D9
square
#8A57F6 #F65773 #C3F657 #57F6D9
split-complementary
#8A57F6 #F6D957 #73F657
monochromatic
#470BC8 #621DF3 #8A57F6 #B291F9 #DBCBFC

Accessibility & contrast

On white

4.40
#8A57F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#8A57F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A57F6
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A57F6#FFFFFF#000000##000000
##8A57F61.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFB
Deuteranopia (green-blind)
#0075F3
Tritanopia (blue-blind)
#6B7D9F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a57f6;
/* rgb */ color: rgb(138, 87, 246);
/* oklch */ color: oklch(59.8% 0.225 293.1);
Tailwind
colors: {
  custom: {
    50: '#b489fa',
    500: '#8a57f6',
    950: '#000000',
  },
}
SCSS
$custom: #8a57f6;
$custom-light: #b489fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8a57f6",
  "rgb": {
    "r": 138,
    "g": 87,
    "b": 246
  },
  "hsl": {
    "h": 259.245,
    "s": 89.831,
    "l": 65.294
  },
  "oklch": {
    "l": 0.59768,
    "c": 0.22512,
    "h": 293.1
  },
  "luminance": 0.18873
}

Semantic roles & 50–950 ramp

primary
#8A57F6
secondary
#DEEFBA
accent
#E6009C
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8A57F6

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

Preview Lab → · Contrast checker → · Palette generator →

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