#8D58CA#8D58CA

#8D58CA is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.2% C 0.173 H 302.8°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8D58CA
RGBrgb(141, 88, 202)
HSLhsl(268, 52%, 57%)
HSVhsv(268, 56%, 79%)
CMYKcmyk(30.2%, 56.4%, 0%, 20.8%)
CIE-LABlab(48.14, 44.45, -51.35)
CIE-LCHlch(48.14, 67.92, 310.88°)
OKLaboklab(57.17% 0.0934 -0.1451)
OKLCHoklch(57.17% 0.173 302.8)
XYZxyz(25.1325, 16.9064, 57.8049)
Luminance0.1691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D58CA #95CA58
analogous
#585CCA #8D58CA #C658CA
triadic
#8D58CA #CA8D58 #58CA8D
tetradic
#8D58CA #CA585C #95CA58 #58CAC6
square
#8D58CA #CA585C #95CA58 #58CAC6
split-complementary
#8D58CA #CAC658 #5CCA58
monochromatic
#51287F #6E37AE #8D58CA #AD86D9 #CCB5E7

Accessibility & contrast

On white

4.79
#8D58CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#8D58CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D58CA
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D58CA#FFFFFF#000000##FFFFFF
##8D58CA1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2971CE
Deuteranopia (green-blind)
#3D72C7
Tritanopia (blue-blind)
#816E89
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8d58ca;
/* rgb */ color: rgb(141, 88, 202);
/* oklch */ color: oklch(57.2% 0.173 302.8);
Tailwind
colors: {
  custom: {
    50: '#b289db',
    500: '#8d58ca',
    950: '#000000',
  },
}
SCSS
$custom: #8d58ca;
$custom-light: #b289db;
$custom-dark: #000000;
JSON
{
  "hex": "#8d58ca",
  "rgb": {
    "r": 141,
    "g": 88,
    "b": 202
  },
  "hsl": {
    "h": 267.895,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57173,
    "c": 0.17251,
    "h": 302.8
  },
  "luminance": 0.16906
}

Semantic roles & 50–950 ramp

primary
#8D58CA
secondary
#C1D6A8
accent
#DB4D99
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8D58CA

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

Preview Lab → · Contrast checker → · Palette generator →

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