#8F57E1#8F57E1

#8F57E1 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.8% C 0.201 H 298.7°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8F57E1
RGBrgb(143, 87, 225)
HSLhsl(264, 70%, 61%)
HSVhsv(264, 61%, 88%)
CMYKcmyk(36.4%, 61.3%, 0%, 11.8%)
CIE-LABlab(49.61, 51.18, -62.10)
CIE-LCHlch(49.61, 80.47, 309.49°)
OKLaboklab(58.76% 0.0967 -0.1766)
OKLCHoklch(58.76% 0.201 298.7)
XYZxyz(28.3231, 18.0919, 73.2195)
Luminance0.1809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F57E1 #A9E157
analogous
#5764E1 #8F57E1 #D457E1
triadic
#8F57E1 #E18F57 #57E18F
tetradic
#8F57E1 #E15764 #A9E157 #57E1D4
square
#8F57E1 #E15764 #A9E157 #57E1D4
split-complementary
#8F57E1 #E1D457 #64E157
monochromatic
#521DA1 #6D26D5 #8F57E1 #B28BEA #D4BFF4

Accessibility & contrast

On white

4.55
#8F57E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#8F57E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F57E1
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F57E1#FFFFFF#000000##000000
##8F57E11.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E5
Deuteranopia (green-blind)
#1B75DE
Tritanopia (blue-blind)
#7C7594
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8f57e1;
/* rgb */ color: rgb(143, 87, 225);
/* oklch */ color: oklch(58.8% 0.201 298.7);
Tailwind
colors: {
  custom: {
    50: '#b589eb',
    500: '#8f57e1',
    950: '#000000',
  },
}
SCSS
$custom: #8f57e1;
$custom-light: #b589eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f57e1",
  "rgb": {
    "r": 143,
    "g": 87,
    "b": 225
  },
  "hsl": {
    "h": 264.348,
    "s": 69.697,
    "l": 61.176
  },
  "oklch": {
    "l": 0.58756,
    "c": 0.20133,
    "h": 298.7
  },
  "luminance": 0.18092
}

Semantic roles & 50–950 ramp

primary
#8F57E1
secondary
#CFE4B0
accent
#D21485
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8F57E1

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

Preview Lab → · Contrast checker → · Palette generator →

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