#8F57F6#8F57F6

#8F57F6 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.3% C 0.225 H 294.9°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8F57F6
RGBrgb(143, 87, 246)
HSLhsl(261, 90%, 65%)
HSVhsv(261, 65%, 96%)
CMYKcmyk(41.9%, 64.6%, 0%, 3.5%)
CIE-LABlab(51.05, 56.53, -71.57)
CIE-LCHlch(51.05, 91.20, 308.30°)
OKLaboklab(60.25% 0.095 -0.2044)
OKLCHoklch(60.25% 0.225 294.9)
XYZxyz(31.3660, 19.3091, 89.2453)
Luminance0.1931 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F57F6 #BEF657
analogous
#576EF6 #8F57F6 #DE57F6
triadic
#8F57F6 #F68F57 #57F68F
tetradic
#8F57F6 #F6576E #BEF657 #57F6DE
square
#8F57F6 #F6576E #BEF657 #57F6DE
split-complementary
#8F57F6 #F6DE57 #6EF657
monochromatic
#4D0BC8 #681DF3 #8F57F6 #B691F9 #DCCBFC

Accessibility & contrast

On white

4.32
#8F57F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#8F57F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F57F6
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F57F6#FFFFFF#000000##000000
##8F57F61.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFB
Deuteranopia (green-blind)
#0077F3
Tritanopia (blue-blind)
#737C9F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8f57f6;
/* rgb */ color: rgb(143, 87, 246);
/* oklch */ color: oklch(60.3% 0.225 294.9);
Tailwind
colors: {
  custom: {
    50: '#b78afa',
    500: '#8f57f6',
    950: '#000000',
  },
}
SCSS
$custom: #8f57f6;
$custom-light: #b78afa;
$custom-dark: #000000;
JSON
{
  "hex": "#8f57f6",
  "rgb": {
    "r": 143,
    "g": 87,
    "b": 246
  },
  "hsl": {
    "h": 261.132,
    "s": 89.831,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60253,
    "c": 0.22539,
    "h": 294.9
  },
  "luminance": 0.1931
}

Semantic roles & 50–950 ramp

primary
#8F57F6
secondary
#DCEFBA
accent
#E60095
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8F57F6

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

Preview Lab → · Contrast checker → · Palette generator →

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