#8D58DB#8D58DB

#8D58DB is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.3% C 0.193 H 298.9°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8D58DB
RGBrgb(141, 88, 219)
HSLhsl(264, 65%, 60%)
HSVhsv(264, 60%, 86%)
CMYKcmyk(35.6%, 59.8%, 0%, 14.1%)
CIE-LABlab(49.20, 48.69, -59.37)
CIE-LCHlch(49.20, 76.79, 309.36°)
OKLaboklab(58.29% 0.0932 -0.1686)
OKLCHoklch(58.29% 0.193 298.9)
XYZxyz(27.2573, 17.7563, 68.9954)
Luminance0.1776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D58DB #A6DB58
analogous
#5864DB #8D58DB #CF58DB
triadic
#8D58DB #DB8D58 #58DB8D
tetradic
#8D58DB #DB5864 #A6DB58 #58DBCF
square
#8D58DB #DB5864 #A6DB58 #58DBCF
split-complementary
#8D58DB #DBCF58 #64DB58
monochromatic
#512198 #6C2CCA #8D58DB #AF8AE6 #D2BDF1

Accessibility & contrast

On white

4.61
#8D58DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#8D58DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8D58DB
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D58DB#FFFFFF#000000##FFFFFF
##8D58DB1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075DF
Deuteranopia (green-blind)
#2774D8
Tritanopia (blue-blind)
#7C7491
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8d58db;
/* rgb */ color: rgb(141, 88, 219);
/* oklch */ color: oklch(58.3% 0.193 298.9);
Tailwind
colors: {
  custom: {
    50: '#b389e7',
    500: '#8d58db',
    950: '#000000',
  },
}
SCSS
$custom: #8d58db;
$custom-light: #b389e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d58db",
  "rgb": {
    "r": 141,
    "g": 88,
    "b": 219
  },
  "hsl": {
    "h": 264.275,
    "s": 64.532,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58285,
    "c": 0.19266,
    "h": 298.9
  },
  "luminance": 0.17757
}

Semantic roles & 50–950 ramp

primary
#8D58DB
secondary
#CCE1AE
accent
#CC1984
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8D58DB

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

Preview Lab → · Contrast checker → · Palette generator →

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