#8D58AF#8D58AF

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

Color values

HEX#8D58AF
RGBrgb(141, 88, 175)
HSLhsl(277, 35%, 52%)
HSVhsv(277, 50%, 69%)
CMYKcmyk(19.4%, 49.7%, 0%, 31.4%)
CIE-LABlab(46.63, 38.02, -38.09)
CIE-LCHlch(46.63, 53.82, 314.95°)
OKLaboklab(55.57% 0.0915 -0.1063)
OKLCHoklch(55.57% 0.14 310.7)
XYZxyz(22.2107, 15.7377, 42.4168)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D58AF #7AAF58
analogous
#6258AF #8D58AF #AF58A6
triadic
#8D58AF #AF8D58 #58AF8D
tetradic
#8D58AF #AF6258 #7AAF58 #58A6AF
square
#8D58AF #AF6258 #7AAF58 #58A6AF
split-complementary
#8D58AF #A6AF58 #58AF62
monochromatic
#4C2E5F #6D4188 #8D58AF #A981C3 #C5ABD7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D58AF#FFFFFF#000000##FFFFFF
##8D58AF1.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)
#436CB2
Deuteranopia (green-blind)
#5270AD
Tritanopia (blue-blind)
#89667B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8d58af;
/* rgb */ color: rgb(141, 88, 175);
/* oklch */ color: oklch(55.6% 0.140 310.7);
Tailwind
colors: {
  custom: {
    50: '#b089c7',
    500: '#8d58af',
    950: '#000000',
  },
}
SCSS
$custom: #8d58af;
$custom-light: #b089c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d58af",
  "rgb": {
    "r": 141,
    "g": 88,
    "b": 175
  },
  "hsl": {
    "h": 276.552,
    "s": 35.223,
    "l": 51.569
  },
  "oklch": {
    "l": 0.55565,
    "c": 0.14026,
    "h": 310.7
  },
  "luminance": 0.15737
}

Semantic roles & 50–950 ramp

primary
#8D58AF
secondary
#ADC59E
accent
#CB5D88
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #8D58AF

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

Preview Lab → · Contrast checker → · Palette generator →

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