#8F57AF#8F57AF

#8F57AF is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.6% C 0.143 H 312.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8F57AF
RGBrgb(143, 87, 175)
HSLhsl(278, 35%, 51%)
HSVhsv(278, 50%, 69%)
CMYKcmyk(18.3%, 50.3%, 0%, 31.4%)
CIE-LABlab(46.65, 39.15, -38.04)
CIE-LCHlch(46.65, 54.59, 315.82°)
OKLaboklab(55.63% 0.0954 -0.1061)
OKLCHoklch(55.63% 0.143 312)
XYZxyz(22.4724, 15.7517, 42.4057)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F57AF #77AF57
analogous
#6357AF #8F57AF #AF57A3
triadic
#8F57AF #AF8F57 #57AF8F
tetradic
#8F57AF #AF6357 #77AF57 #57A3AF
square
#8F57AF #AF6357 #77AF57 #57A3AF
split-complementary
#8F57AF #A3AF57 #57AF63
monochromatic
#4D2D5F #6E4188 #8F57AF #AB80C3 #C6AAD6

Accessibility & contrast

On white

5.06
#8F57AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#8F57AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F57AF
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F57AF#FFFFFF#000000##FFFFFF
##8F57AF1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426CB2
Deuteranopia (green-blind)
#5270AD
Tritanopia (blue-blind)
#8C657B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8f57af;
/* rgb */ color: rgb(143, 87, 175);
/* oklch */ color: oklch(55.6% 0.143 312.0);
Tailwind
colors: {
  custom: {
    50: '#b288c7',
    500: '#8f57af',
    950: '#000000',
  },
}
SCSS
$custom: #8f57af;
$custom-light: #b288c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f57af",
  "rgb": {
    "r": 143,
    "g": 87,
    "b": 175
  },
  "hsl": {
    "h": 278.182,
    "s": 35.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.55631,
    "c": 0.14272,
    "h": 312
  },
  "luminance": 0.15751
}

Semantic roles & 50–950 ramp

primary
#8F57AF
secondary
#ACC49E
accent
#CC5C85
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #8F57AF

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

Preview Lab → · Contrast checker → · Palette generator →

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