#8C58DA#8C58DA

#8C58DA is a mid, vivid violet. Relative luminance 0.176; OKLCH L 58.1% C 0.191 H 298.7°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8C58DA
RGBrgb(140, 88, 218)
HSLhsl(264, 64%, 60%)
HSVhsv(264, 60%, 85%)
CMYKcmyk(35.8%, 59.6%, 0%, 14.5%)
CIE-LABlab(49.03, 48.22, -59.09)
CIE-LCHlch(49.03, 76.26, 309.22°)
OKLaboklab(58.12% 0.092 -0.1678)
OKLCHoklch(58.12% 0.191 298.7)
XYZxyz(26.9567, 17.6165, 68.2962)
Luminance0.1762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C58DA #A6DA58
analogous
#5865DA #8C58DA #CD58DA
triadic
#8C58DA #DA8C58 #58DA8C
tetradic
#8C58DA #DA5865 #A6DA58 #58DACD
square
#8C58DA #DA5865 #A6DA58 #58DACD
split-complementary
#8C58DA #DACD58 #65DA58
monochromatic
#502196 #6B2CC8 #8C58DA #AF8AE5 #D1BCF0

Accessibility & contrast

On white

4.64
#8C58DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#8C58DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8C58DA
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C58DA#FFFFFF#000000##FFFFFF
##8C58DA1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075DE
Deuteranopia (green-blind)
#2773D7
Tritanopia (blue-blind)
#7B7491
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8c58da;
/* rgb */ color: rgb(140, 88, 218);
/* oklch */ color: oklch(58.1% 0.191 298.7);
Tailwind
colors: {
  custom: {
    50: '#b289e6',
    500: '#8c58da',
    950: '#000000',
  },
}
SCSS
$custom: #8c58da;
$custom-light: #b289e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8c58da",
  "rgb": {
    "r": 140,
    "g": 88,
    "b": 218
  },
  "hsl": {
    "h": 264,
    "s": 63.725,
    "l": 60
  },
  "oklch": {
    "l": 0.58115,
    "c": 0.19134,
    "h": 298.7
  },
  "luminance": 0.17617
}

Semantic roles & 50–950 ramp

primary
#8C58DA
secondary
#CCE0AE
accent
#E741A4
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8C58DA

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

Preview Lab → · Contrast checker → · Palette generator →

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