#8F57ED#8F57ED

#8F57ED is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.6% C 0.215 H 296.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#8F57ED
RGBrgb(143, 87, 237)
HSLhsl(262, 81%, 64%)
HSVhsv(262, 63%, 93%)
CMYKcmyk(39.7%, 63.3%, 0%, 7.1%)
CIE-LABlab(50.42, 54.22, -67.56)
CIE-LCHlch(50.42, 86.63, 308.75°)
OKLaboklab(59.6% 0.0959 -0.1926)
OKLCHoklch(59.6% 0.215 296.5)
XYZxyz(30.0180, 18.7699, 82.1458)
Luminance0.1877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F57ED #B5ED57
analogous
#576AED #8F57ED #DA57ED
triadic
#8F57ED #ED8F57 #57ED8F
tetradic
#8F57ED #ED576A #B5ED57 #57EDDA
square
#8F57ED #ED576A #B5ED57 #57EDDA
split-complementary
#8F57ED #EDDA57 #6AED57
monochromatic
#5014B6 #6A20E7 #8F57ED #B48EF3 #D9C6F9

Accessibility & contrast

On white

4.42
#8F57ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#8F57ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F57ED
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F57ED#FFFFFF#000000##000000
##8F57ED1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F2
Deuteranopia (green-blind)
#0076EA
Tritanopia (blue-blind)
#78799A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8f57ed;
/* rgb */ color: rgb(143, 87, 237);
/* oklch */ color: oklch(59.6% 0.215 296.5);
Tailwind
colors: {
  custom: {
    50: '#b689f4',
    500: '#8f57ed',
    950: '#000000',
  },
}
SCSS
$custom: #8f57ed;
$custom-light: #b689f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f57ed",
  "rgb": {
    "r": 143,
    "g": 87,
    "b": 237
  },
  "hsl": {
    "h": 262.4,
    "s": 80.645,
    "l": 63.529
  },
  "oklch": {
    "l": 0.59599,
    "c": 0.21514,
    "h": 296.5
  },
  "luminance": 0.1877
}

Semantic roles & 50–950 ramp

primary
#8F57ED
secondary
#D7EAB5
accent
#DD098E
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8F57ED

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

Preview Lab → · Contrast checker → · Palette generator →

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