#8F57D8#8F57D8

#8F57D8 is a mid, vivid violet. Relative luminance 0.176; OKLCH L 58.1% C 0.191 H 300.6°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8F57D8
RGBrgb(143, 87, 216)
HSLhsl(266, 62%, 59%)
HSVhsv(266, 60%, 85%)
CMYKcmyk(33.8%, 59.7%, 0%, 15.3%)
CIE-LABlab(49.02, 48.92, -57.94)
CIE-LCHlch(49.02, 75.83, 310.18°)
OKLaboklab(58.15% 0.0971 -0.1643)
OKLCHoklch(58.15% 0.191 300.6)
XYZxyz(27.1276, 17.6137, 66.9230)
Luminance0.1761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F57D8 #A0D857
analogous
#575FD8 #8F57D8 #D057D8
triadic
#8F57D8 #D88F57 #57D88F
tetradic
#8F57D8 #D8575F #A0D857 #57D8D0
square
#8F57D8 #D8575F #A0D857 #57D8D0
split-complementary
#8F57D8 #D8D057 #5FD857
monochromatic
#532293 #6F2EC4 #8F57D8 #B089E4 #D1BAEF

Accessibility & contrast

On white

4.64
#8F57D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#8F57D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8F57D8
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F57D8#FFFFFF#000000##FFFFFF
##8F57D81.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0574DC
Deuteranopia (green-blind)
#2D74D5
Tritanopia (blue-blind)
#80728F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8f57d8;
/* rgb */ color: rgb(143, 87, 216);
/* oklch */ color: oklch(58.1% 0.191 300.6);
Tailwind
colors: {
  custom: {
    50: '#b489e5',
    500: '#8f57d8',
    950: '#000000',
  },
}
SCSS
$custom: #8f57d8;
$custom-light: #b489e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f57d8",
  "rgb": {
    "r": 143,
    "g": 87,
    "b": 216
  },
  "hsl": {
    "h": 266.047,
    "s": 62.319,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58145,
    "c": 0.19087,
    "h": 300.6
  },
  "luminance": 0.17614
}

Semantic roles & 50–950 ramp

primary
#8F57D8
secondary
#C9DFAC
accent
#E5429F
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8F57D8

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

Preview Lab → · Contrast checker → · Palette generator →

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