#8F57E4#8F57E4

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

Color values

HEX#8F57E4
RGBrgb(143, 87, 228)
HSLhsl(264, 72%, 62%)
HSVhsv(264, 62%, 89%)
CMYKcmyk(37.3%, 61.8%, 0%, 10.6%)
CIE-LABlab(49.81, 51.93, -63.48)
CIE-LCHlch(49.81, 82.02, 309.29°)
OKLaboklab(58.96% 0.0965 -0.1806)
OKLCHoklch(58.96% 0.205 298.1)
XYZxyz(28.7360, 18.2571, 75.3938)
Luminance0.1826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F57E4 #ACE457
analogous
#5766E4 #8F57E4 #D657E4
triadic
#8F57E4 #E48F57 #57E48F
tetradic
#8F57E4 #E45766 #ACE457 #57E4D6
square
#8F57E4 #E45766 #ACE457 #57E4D6
split-complementary
#8F57E4 #E4D657 #66E457
monochromatic
#521BA6 #6C23DB #8F57E4 #B28CEC #D5C0F5

Accessibility & contrast

On white

4.51
#8F57E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#8F57E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F57E4
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F57E4#FFFFFF#000000##000000
##8F57E41.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E8
Deuteranopia (green-blind)
#1275E1
Tritanopia (blue-blind)
#7B7696
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8f57e4;
/* rgb */ color: rgb(143, 87, 228);
/* oklch */ color: oklch(59.0% 0.205 298.1);
Tailwind
colors: {
  custom: {
    50: '#b589ed',
    500: '#8f57e4',
    950: '#000000',
  },
}
SCSS
$custom: #8f57e4;
$custom-light: #b589ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8f57e4",
  "rgb": {
    "r": 143,
    "g": 87,
    "b": 228
  },
  "hsl": {
    "h": 263.83,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.58964,
    "c": 0.20479,
    "h": 298.1
  },
  "luminance": 0.18257
}

Semantic roles & 50–950 ramp

primary
#8F57E4
secondary
#D1E6B1
accent
#D41187
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8F57E4

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

Preview Lab → · Contrast checker → · Palette generator →

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