#8C57DF#8C57DF

#8C57DF is a mid, vivid violet. Relative luminance 0.177; OKLCH L 58.3% C 0.199 H 297.9°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8C57DF
RGBrgb(140, 87, 223)
HSLhsl(263, 68%, 61%)
HSVhsv(263, 61%, 87%)
CMYKcmyk(37.2%, 61%, 0%, 12.5%)
CIE-LABlab(49.15, 50.02, -61.72)
CIE-LCHlch(49.15, 79.45, 309.02°)
OKLaboklab(58.31% 0.0929 -0.1755)
OKLCHoklch(58.31% 0.199 297.9)
XYZxyz(27.5393, 17.7192, 71.7670)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C57DF #AADF57
analogous
#5766DF #8C57DF #D057DF
triadic
#8C57DF #DF8C57 #57DF8C
tetradic
#8C57DF #DF5766 #AADF57 #57DFD0
square
#8C57DF #DF5766 #AADF57 #57DFD0
split-complementary
#8C57DF #DFD057 #66DF57
monochromatic
#501E9E #6A28D1 #8C57DF #AF8AE9 #D2BEF3

Accessibility & contrast

On white

4.62
#8C57DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#8C57DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8C57DF
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C57DF#FFFFFF#000000##FFFFFF
##8C57DF1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E3
Deuteranopia (green-blind)
#1A73DC
Tritanopia (blue-blind)
#797593
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8c57df;
/* rgb */ color: rgb(140, 87, 223);
/* oklch */ color: oklch(58.3% 0.199 297.9);
Tailwind
colors: {
  custom: {
    50: '#b389ea',
    500: '#8c57df',
    950: '#000000',
  },
}
SCSS
$custom: #8c57df;
$custom-light: #b389ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8c57df",
  "rgb": {
    "r": 140,
    "g": 87,
    "b": 223
  },
  "hsl": {
    "h": 263.382,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58311,
    "c": 0.19861,
    "h": 297.9
  },
  "luminance": 0.1772
}

Semantic roles & 50–950 ramp

primary
#8C57DF
secondary
#CFE3AF
accent
#D01687
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8C57DF

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

Preview Lab → · Contrast checker → · Palette generator →

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