#8F57E5#8F57E5

#8F57E5 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.0% C 0.206 H 297.9°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8F57E5
RGBrgb(143, 87, 229)
HSLhsl(264, 73%, 62%)
HSVhsv(264, 62%, 90%)
CMYKcmyk(37.6%, 62%, 0%, 10.2%)
CIE-LABlab(49.87, 52.19, -63.94)
CIE-LCHlch(49.87, 82.53, 309.22°)
OKLaboklab(59.03% 0.0965 -0.1819)
OKLCHoklch(59.03% 0.206 297.9)
XYZxyz(28.8752, 18.3128, 76.1270)
Luminance0.1831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F57E5 #ADE557
analogous
#5766E5 #8F57E5 #D657E5
triadic
#8F57E5 #E58F57 #57E58F
tetradic
#8F57E5 #E55766 #ADE557 #57E5D6
square
#8F57E5 #E55766 #ADE557 #57E5D6
split-complementary
#8F57E5 #E5D657 #66E557
monochromatic
#521AA8 #6C22DD #8F57E5 #B28CED #D6C1F5

Accessibility & contrast

On white

4.50
#8F57E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#8F57E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F57E5
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F57E5#FFFFFF#000000##000000
##8F57E51.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E9
Deuteranopia (green-blind)
#0E75E2
Tritanopia (blue-blind)
#7B7796
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8f57e5;
/* rgb */ color: rgb(143, 87, 229);
/* oklch */ color: oklch(59.0% 0.206 297.9);
Tailwind
colors: {
  custom: {
    50: '#b589ee',
    500: '#8f57e5',
    950: '#000000',
  },
}
SCSS
$custom: #8f57e5;
$custom-light: #b589ee;
$custom-dark: #000000;
JSON
{
  "hex": "#8f57e5",
  "rgb": {
    "r": 143,
    "g": 87,
    "b": 229
  },
  "hsl": {
    "h": 263.662,
    "s": 73.196,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59033,
    "c": 0.20595,
    "h": 297.9
  },
  "luminance": 0.18313
}

Semantic roles & 50–950 ramp

primary
#8F57E5
secondary
#D1E6B2
accent
#D51088
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8F57E5

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

Preview Lab → · Contrast checker → · Palette generator →

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