#8F57BB#8F57BB

#8F57BB is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.3% C 0.157 H 308.0°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8F57BB
RGBrgb(143, 87, 187)
HSLhsl(274, 42%, 54%)
HSVhsv(274, 53%, 73%)
CMYKcmyk(23.5%, 53.5%, 0%, 26.7%)
CIE-LABlab(47.29, 41.91, -44.02)
CIE-LCHlch(47.29, 60.78, 313.59°)
OKLaboklab(56.32% 0.0966 -0.1235)
OKLCHoklch(56.32% 0.157 308)
XYZxyz(23.7037, 16.2442, 48.8908)
Luminance0.1624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F57BB #83BB57
analogous
#5D57BB #8F57BB #BB57B5
triadic
#8F57BB #BB8F57 #57BB8F
tetradic
#8F57BB #BB5D57 #83BB57 #57B5BB
square
#8F57BB #BB5D57 #83BB57 #57B5BB
split-complementary
#8F57BB #B5BB57 #57BB5D
monochromatic
#502C6C #703D97 #8F57BB #AC83CD #C9AEDE

Accessibility & contrast

On white

4.94
#8F57BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#8F57BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F57BB
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F57BB#FFFFFF#000000##FFFFFF
##8F57BB1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396EBE
Deuteranopia (green-blind)
#4B71B9
Tritanopia (blue-blind)
#896981
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8f57bb;
/* rgb */ color: rgb(143, 87, 187);
/* oklch */ color: oklch(56.3% 0.157 308.0);
Tailwind
colors: {
  custom: {
    50: '#b288d0',
    500: '#8f57bb',
    950: '#000000',
  },
}
SCSS
$custom: #8f57bb;
$custom-light: #b288d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f57bb",
  "rgb": {
    "r": 143,
    "g": 87,
    "b": 187
  },
  "hsl": {
    "h": 273.6,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56319,
    "c": 0.15681,
    "h": 308
  },
  "luminance": 0.16244
}

Semantic roles & 50–950 ramp

primary
#8F57BB
secondary
#B4CCA2
accent
#D2568C
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8F57BB

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

Preview Lab → · Contrast checker → · Palette generator →

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