#8A57BF#8A57BF

#8A57BF is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.0% C 0.160 H 304.4°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#8A57BF
RGBrgb(138, 87, 191)
HSLhsl(269, 45%, 55%)
HSVhsv(269, 54%, 75%)
CMYKcmyk(27.7%, 54.5%, 0%, 25.1%)
CIE-LABlab(46.95, 41.55, -46.93)
CIE-LCHlch(46.95, 62.68, 311.52°)
OKLaboklab(56.01% 0.0904 -0.1322)
OKLCHoklch(56.01% 0.16 304.4)
XYZxyz(23.2913, 15.9813, 51.1378)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A57BF #8CBF57
analogous
#5758BF #8A57BF #BE57BF
triadic
#8A57BF #BF8A57 #57BF8A
tetradic
#8A57BF #BF5758 #8CBF57 #57BFBE
square
#8A57BF #BF5758 #8CBF57 #57BFBE
split-complementary
#8A57BF #BFBE57 #58BF57
monochromatic
#4D2B71 #6B3C9D #8A57BF #A983D0 #C8B0E1

Accessibility & contrast

On white

5.00
#8A57BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#8A57BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A57BF
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A57BF#FFFFFF#000000##FFFFFF
##8A57BF1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326EC2
Deuteranopia (green-blind)
#436FBC
Tritanopia (blue-blind)
#816B83
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8a57bf;
/* rgb */ color: rgb(138, 87, 191);
/* oklch */ color: oklch(56.0% 0.160 304.4);
Tailwind
colors: {
  custom: {
    50: '#af88d3',
    500: '#8a57bf',
    950: '#000000',
  },
}
SCSS
$custom: #8a57bf;
$custom-light: #af88d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a57bf",
  "rgb": {
    "r": 138,
    "g": 87,
    "b": 191
  },
  "hsl": {
    "h": 269.423,
    "s": 44.828,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56011,
    "c": 0.16014,
    "h": 304.4
  },
  "luminance": 0.15981
}

Semantic roles & 50–950 ramp

primary
#8A57BF
secondary
#B9CFA3
accent
#D55395
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8A57BF

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

Preview Lab → · Contrast checker → · Palette generator →

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