#8F57BC#8F57BC

#8F57BC is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.4% C 0.158 H 307.7°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8F57BC
RGBrgb(143, 87, 188)
HSLhsl(273, 43%, 54%)
HSVhsv(273, 54%, 74%)
CMYKcmyk(23.9%, 53.7%, 0%, 26.3%)
CIE-LABlab(47.35, 42.14, -44.52)
CIE-LCHlch(47.35, 61.30, 313.43°)
OKLaboklab(56.38% 0.0966 -0.125)
OKLCHoklch(56.38% 0.158 307.7)
XYZxyz(23.8112, 16.2872, 49.4566)
Luminance0.1629 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F57BC #84BC57
analogous
#5D57BC #8F57BC #BC57B7
triadic
#8F57BC #BC8F57 #57BC8F
tetradic
#8F57BC #BC5D57 #84BC57 #57B7BC
square
#8F57BC #BC5D57 #84BC57 #57B7BC
split-complementary
#8F57BC #B7BC57 #57BC5D
monochromatic
#502C6D #703D99 #8F57BC #AC83CD #C9AFDF

Accessibility & contrast

On white

4.93
#8F57BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#8F57BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F57BC
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F57BC#FFFFFF#000000##FFFFFF
##8F57BC1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386EBF
Deuteranopia (green-blind)
#4A71BA
Tritanopia (blue-blind)
#886981
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8f57bc;
/* rgb */ color: rgb(143, 87, 188);
/* oklch */ color: oklch(56.4% 0.158 307.7);
Tailwind
colors: {
  custom: {
    50: '#b288d1',
    500: '#8f57bc',
    950: '#000000',
  },
}
SCSS
$custom: #8f57bc;
$custom-light: #b288d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f57bc",
  "rgb": {
    "r": 143,
    "g": 87,
    "b": 188
  },
  "hsl": {
    "h": 273.267,
    "s": 42.979,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56378,
    "c": 0.15799,
    "h": 307.7
  },
  "luminance": 0.16287
}

Semantic roles & 50–950 ramp

primary
#8F57BC
secondary
#B5CDA2
accent
#D3558D
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8F57BC

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

Preview Lab → · Contrast checker → · Palette generator →

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