#8D58C8#8D58C8

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

Color values

HEX#8D58C8
RGBrgb(141, 88, 200)
HSLhsl(268, 50%, 56%)
HSVhsv(268, 56%, 78%)
CMYKcmyk(29.5%, 56%, 0%, 21.6%)
CIE-LABlab(48.02, 43.96, -50.39)
CIE-LCHlch(48.02, 66.87, 311.10°)
OKLaboklab(57.05% 0.0933 -0.1422)
OKLCHoklch(57.05% 0.17 303.3)
XYZxyz(24.8972, 16.8123, 56.5658)
Luminance0.1681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D58C8 #93C858
analogous
#585BC8 #8D58C8 #C558C8
triadic
#8D58C8 #C88D58 #58C88D
tetradic
#8D58C8 #C8585B #93C858 #58C8C5
square
#8D58C8 #C8585B #93C858 #58C8C5
split-complementary
#8D58C8 #C8C558 #5BC858
monochromatic
#51297D #6E38AB #8D58C8 #AC86D7 #CCB4E6

Accessibility & contrast

On white

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

On black

4.36
#8D58C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8D58C8#FFFFFF#000000##FFFFFF
##8D58C81.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C71CC
Deuteranopia (green-blind)
#3F72C5
Tritanopia (blue-blind)
#826E88
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8d58c8;
/* rgb */ color: rgb(141, 88, 200);
/* oklch */ color: oklch(57.0% 0.170 303.3);
Tailwind
colors: {
  custom: {
    50: '#b289d9',
    500: '#8d58c8',
    950: '#000000',
  },
}
SCSS
$custom: #8d58c8;
$custom-light: #b289d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d58c8",
  "rgb": {
    "r": 141,
    "g": 88,
    "b": 200
  },
  "hsl": {
    "h": 268.393,
    "s": 50.45,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57047,
    "c": 0.17012,
    "h": 303.3
  },
  "luminance": 0.16812
}

Semantic roles & 50–950 ramp

primary
#8D58C8
secondary
#BFD5A7
accent
#DA4E98
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C15
muted
#807D83

Preview Lab

Preview with #8D58C8

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

Preview Lab → · Contrast checker → · Palette generator →

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