#8F57DA#8F57DA

#8F57DA is a mid, vivid violet. Relative luminance 0.177; OKLCH L 58.3% C 0.193 H 300.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8F57DA
RGBrgb(143, 87, 218)
HSLhsl(266, 64%, 60%)
HSVhsv(266, 60%, 85%)
CMYKcmyk(34.4%, 60.1%, 0%, 14.5%)
CIE-LABlab(49.15, 49.42, -58.87)
CIE-LCHlch(49.15, 76.86, 310.01°)
OKLaboklab(58.28% 0.0971 -0.1671)
OKLCHoklch(58.28% 0.193 300.2)
XYZxyz(27.3877, 17.7178, 68.2930)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F57DA #A2DA57
analogous
#5761DA #8F57DA #D157DA
triadic
#8F57DA #DA8F57 #57DA8F
tetradic
#8F57DA #DA5761 #A2DA57 #57DAD1
square
#8F57DA #DA5761 #A2DA57 #57DAD1
split-complementary
#8F57DA #DAD157 #61DA57
monochromatic
#532196 #6F2CC8 #8F57DA #B089E5 #D2BBF0

Accessibility & contrast

On white

4.62
#8F57DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#8F57DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8F57DA
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F57DA#FFFFFF#000000##FFFFFF
##8F57DA1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074DE
Deuteranopia (green-blind)
#2A74D7
Tritanopia (blue-blind)
#7F7390
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8f57da;
/* rgb */ color: rgb(143, 87, 218);
/* oklch */ color: oklch(58.3% 0.193 300.2);
Tailwind
colors: {
  custom: {
    50: '#b489e6',
    500: '#8f57da',
    950: '#000000',
  },
}
SCSS
$custom: #8f57da;
$custom-light: #b489e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f57da",
  "rgb": {
    "r": 143,
    "g": 87,
    "b": 218
  },
  "hsl": {
    "h": 265.649,
    "s": 63.902,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58279,
    "c": 0.1932,
    "h": 300.2
  },
  "luminance": 0.17718
}

Semantic roles & 50–950 ramp

primary
#8F57DA
secondary
#CAE0AD
accent
#E741A0
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8F57DA

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

Preview Lab → · Contrast checker → · Palette generator →

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