#8F57DF#8F57DF

#8F57DF is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.6% C 0.199 H 299.1°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8F57DF
RGBrgb(143, 87, 223)
HSLhsl(265, 68%, 61%)
HSVhsv(265, 61%, 87%)
CMYKcmyk(35.9%, 61%, 0%, 12.5%)
CIE-LABlab(49.48, 50.67, -61.18)
CIE-LCHlch(49.48, 79.44, 309.63°)
OKLaboklab(58.62% 0.0968 -0.1739)
OKLCHoklch(58.62% 0.199 299.1)
XYZxyz(28.0519, 17.9834, 71.7910)
Luminance0.1798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F57DF #A7DF57
analogous
#5763DF #8F57DF #D357DF
triadic
#8F57DF #DF8F57 #57DF8F
tetradic
#8F57DF #DF5763 #A7DF57 #57DFD3
square
#8F57DF #DF5763 #A7DF57 #57DFD3
split-complementary
#8F57DF #DFD357 #63DF57
monochromatic
#531E9E #6D28D1 #8F57DF #B18AE9 #D4BEF3

Accessibility & contrast

On white

4.57
#8F57DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#8F57DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F57DF
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F57DF#FFFFFF#000000##000000
##8F57DF1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E3
Deuteranopia (green-blind)
#2074DC
Tritanopia (blue-blind)
#7D7493
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8f57df;
/* rgb */ color: rgb(143, 87, 223);
/* oklch */ color: oklch(58.6% 0.199 299.1);
Tailwind
colors: {
  custom: {
    50: '#b589ea',
    500: '#8f57df',
    950: '#000000',
  },
}
SCSS
$custom: #8f57df;
$custom-light: #b589ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8f57df",
  "rgb": {
    "r": 143,
    "g": 87,
    "b": 223
  },
  "hsl": {
    "h": 264.706,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58619,
    "c": 0.19901,
    "h": 299.1
  },
  "luminance": 0.17984
}

Semantic roles & 50–950 ramp

primary
#8F57DF
secondary
#CDE3AF
accent
#D01683
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8F57DF

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

Preview Lab → · Contrast checker → · Palette generator →

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