#8F57C8#8F57C8

#8F57C8 is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.1% C 0.172 H 304.4°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8F57C8
RGBrgb(143, 87, 200)
HSLhsl(270, 51%, 56%)
HSVhsv(270, 57%, 78%)
CMYKcmyk(28.5%, 56.5%, 0%, 21.6%)
CIE-LABlab(48.04, 45.00, -50.35)
CIE-LCHlch(48.04, 67.53, 311.79°)
OKLaboklab(57.11% 0.0972 -0.1421)
OKLCHoklch(57.11% 0.172 304.4)
XYZxyz(25.1589, 16.8263, 56.5548)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F57C8 #90C857
analogous
#5758C8 #8F57C8 #C857C8
triadic
#8F57C8 #C88F57 #57C88F
tetradic
#8F57C8 #C85758 #90C857 #57C8C8
square
#8F57C8 #C85758 #90C857 #57C8C8
split-complementary
#8F57C8 #C8C857 #58C857
monochromatic
#52297C #7038AA #8F57C8 #AE85D7 #CCB3E6

Accessibility & contrast

On white

4.81
#8F57C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#8F57C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F57C8
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F57C8#FFFFFF#000000##FFFFFF
##8F57C81.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B71CC
Deuteranopia (green-blind)
#4072C5
Tritanopia (blue-blind)
#856D87
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8f57c8;
/* rgb */ color: rgb(143, 87, 200);
/* oklch */ color: oklch(57.1% 0.172 304.4);
Tailwind
colors: {
  custom: {
    50: '#b388d9',
    500: '#8f57c8',
    950: '#000000',
  },
}
SCSS
$custom: #8f57c8;
$custom-light: #b388d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f57c8",
  "rgb": {
    "r": 143,
    "g": 87,
    "b": 200
  },
  "hsl": {
    "h": 269.735,
    "s": 50.673,
    "l": 56.275
  },
  "oklch": {
    "l": 0.5711,
    "c": 0.17212,
    "h": 304.4
  },
  "luminance": 0.16826
}

Semantic roles & 50–950 ramp

primary
#8F57C8
secondary
#BED5A6
accent
#DA4E95
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C15
muted
#807D83

Preview Lab

Preview with #8F57C8

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

Preview Lab → · Contrast checker → · Palette generator →

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