#8A57FB#8A57FB

#8A57FB is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.1% C 0.231 H 292.3°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8A57FB
RGBrgb(138, 87, 251)
HSLhsl(259, 95%, 66%)
HSVhsv(259, 65%, 98%)
CMYKcmyk(45%, 65.3%, 0%, 1.6%)
CIE-LABlab(50.90, 56.90, -74.62)
CIE-LCHlch(50.90, 93.84, 307.33°)
OKLaboklab(60.14% 0.0877 -0.2135)
OKLCHoklch(60.14% 0.231 292.3)
XYZxyz(31.2972, 19.1837, 93.3019)
Luminance0.1918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A57FB #C8FB57
analogous
#5776FB #8A57FB #DC57FB
triadic
#8A57FB #FB8A57 #57FB8A
tetradic
#8A57FB #FB5776 #C8FB57 #57FBDC
square
#8A57FB #FB5776 #C8FB57 #57FBDC
split-complementary
#8A57FB #FBDC57 #76FB57
monochromatic
#4505D3 #601BFA #8A57FB #B493FC #DDCFFE

Accessibility & contrast

On white

4.34
#8A57FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#8A57FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A57FB
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A57FB#FFFFFF#000000##000000
##8A57FB1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFF
Deuteranopia (green-blind)
#0076F8
Tritanopia (blue-blind)
#687FA2
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a57fb;
/* rgb */ color: rgb(138, 87, 251);
/* oklch */ color: oklch(60.1% 0.231 292.3);
Tailwind
colors: {
  custom: {
    50: '#b489fe',
    500: '#8a57fb',
    950: '#000000',
  },
}
SCSS
$custom: #8a57fb;
$custom-light: #b489fe;
$custom-dark: #000000;
JSON
{
  "hex": "#8a57fb",
  "rgb": {
    "r": 138,
    "g": 87,
    "b": 251
  },
  "hsl": {
    "h": 258.659,
    "s": 95.349,
    "l": 66.275
  },
  "oklch": {
    "l": 0.60144,
    "c": 0.23084,
    "h": 292.3
  },
  "luminance": 0.19185
}

Semantic roles & 50–950 ramp

primary
#8A57FB
secondary
#E1F2BC
accent
#E6009E
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #8A57FB

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

Preview Lab → · Contrast checker → · Palette generator →

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