#8A57F3#8A57F3

#8A57F3 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.5% C 0.222 H 293.6°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8A57F3
RGBrgb(138, 87, 243)
HSLhsl(260, 87%, 65%)
HSVhsv(260, 64%, 95%)
CMYKcmyk(43.2%, 64.2%, 0%, 4.7%)
CIE-LABlab(50.32, 54.80, -71.10)
CIE-LCHlch(50.32, 89.76, 307.62°)
OKLaboklab(59.55% 0.0887 -0.2032)
OKLCHoklch(59.55% 0.222 293.6)
XYZxyz(30.0627, 18.6899, 86.8002)
Luminance0.1869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A57F3 #C0F357
analogous
#5772F3 #8A57F3 #D857F3
triadic
#8A57F3 #F38A57 #57F38A
tetradic
#8A57F3 #F35772 #C0F357 #57F3D8
square
#8A57F3 #F35772 #C0F357 #57F3D8
split-complementary
#8A57F3 #F3D857 #72F357
monochromatic
#490EC2 #621EEF #8A57F3 #B290F7 #DAC9FB

Accessibility & contrast

On white

4.43
#8A57F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#8A57F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A57F3
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A57F3#FFFFFF#000000##000000
##8A57F31.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF8
Deuteranopia (green-blind)
#0075F0
Tritanopia (blue-blind)
#6D7C9D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a57f3;
/* rgb */ color: rgb(138, 87, 243);
/* oklch */ color: oklch(59.5% 0.222 293.6);
Tailwind
colors: {
  custom: {
    50: '#b389f8',
    500: '#8a57f3',
    950: '#000000',
  },
}
SCSS
$custom: #8a57f3;
$custom-light: #b389f8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a57f3",
  "rgb": {
    "r": 138,
    "g": 87,
    "b": 243
  },
  "hsl": {
    "h": 259.615,
    "s": 86.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.59545,
    "c": 0.22167,
    "h": 293.6
  },
  "luminance": 0.18691
}

Semantic roles & 50–950 ramp

primary
#8A57F3
secondary
#DCEEB8
accent
#E3029A
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8A57F3

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

Preview Lab → · Contrast checker → · Palette generator →

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