#8F57DD#8F57DD

#8F57DD is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.5% C 0.197 H 299.5°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#8F57DD
RGBrgb(143, 87, 221)
HSLhsl(265, 66%, 60%)
HSVhsv(265, 61%, 87%)
CMYKcmyk(35.3%, 60.6%, 0%, 13.3%)
CIE-LABlab(49.35, 50.17, -60.26)
CIE-LCHlch(49.35, 78.41, 309.78°)
OKLaboklab(58.48% 0.0969 -0.1711)
OKLCHoklch(58.48% 0.197 299.5)
XYZxyz(27.7838, 17.8762, 70.3793)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F57DD #A5DD57
analogous
#5762DD #8F57DD #D257DD
triadic
#8F57DD #DD8F57 #57DD8F
tetradic
#8F57DD #DD5762 #A5DD57 #57DDD2
square
#8F57DD #DD5762 #A5DD57 #57DDD2
split-complementary
#8F57DD #DDD257 #62DD57
monochromatic
#531F9A #6E2ACD #8F57DD #B18AE7 #D3BDF2

Accessibility & contrast

On white

4.59
#8F57DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#8F57DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8F57DD
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F57DD#FFFFFF#000000##FFFFFF
##8F57DD1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E1
Deuteranopia (green-blind)
#2574DA
Tritanopia (blue-blind)
#7E7492
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8f57dd;
/* rgb */ color: rgb(143, 87, 221);
/* oklch */ color: oklch(58.5% 0.197 299.5);
Tailwind
colors: {
  custom: {
    50: '#b589e8',
    500: '#8f57dd',
    950: '#000000',
  },
}
SCSS
$custom: #8f57dd;
$custom-light: #b589e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f57dd",
  "rgb": {
    "r": 143,
    "g": 87,
    "b": 221
  },
  "hsl": {
    "h": 265.075,
    "s": 66.337,
    "l": 60.392
  },
  "oklch": {
    "l": 0.58482,
    "c": 0.19669,
    "h": 299.5
  },
  "luminance": 0.17876
}

Semantic roles & 50–950 ramp

primary
#8F57DD
secondary
#CCE1AE
accent
#CE1782
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8F57DD

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

Preview Lab → · Contrast checker → · Palette generator →

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