#8D58CB#8D58CB

#8D58CB is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.2% C 0.174 H 302.5°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8D58CB
RGBrgb(141, 88, 203)
HSLhsl(268, 53%, 57%)
HSVhsv(268, 57%, 80%)
CMYKcmyk(30.5%, 56.7%, 0%, 20.4%)
CIE-LABlab(48.20, 44.70, -51.83)
CIE-LCHlch(48.20, 68.44, 310.77°)
OKLaboklab(57.24% 0.0934 -0.1465)
OKLCHoklch(57.24% 0.174 302.5)
XYZxyz(25.2513, 16.9539, 58.4305)
Luminance0.1695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D58CB #96CB58
analogous
#585DCB #8D58CB #C658CB
triadic
#8D58CB #CB8D58 #58CB8D
tetradic
#8D58CB #CB585D #96CB58 #58CBC6
square
#8D58CB #CB585D #96CB58 #58CBC6
split-complementary
#8D58CB #CBC658 #5DCB58
monochromatic
#512881 #6E37AF #8D58CB #AD87DA #CDB5E8

Accessibility & contrast

On white

4.78
#8D58CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#8D58CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D58CB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D58CB#FFFFFF#000000##FFFFFF
##8D58CB1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2871CF
Deuteranopia (green-blind)
#3C72C8
Tritanopia (blue-blind)
#816F89
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8d58cb;
/* rgb */ color: rgb(141, 88, 203);
/* oklch */ color: oklch(57.2% 0.174 302.5);
Tailwind
colors: {
  custom: {
    50: '#b289db',
    500: '#8d58cb',
    950: '#000000',
  },
}
SCSS
$custom: #8d58cb;
$custom-light: #b289db;
$custom-dark: #000000;
JSON
{
  "hex": "#8d58cb",
  "rgb": {
    "r": 141,
    "g": 88,
    "b": 203
  },
  "hsl": {
    "h": 267.652,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57236,
    "c": 0.1737,
    "h": 302.5
  },
  "luminance": 0.16954
}

Semantic roles & 50–950 ramp

primary
#8D58CB
secondary
#C1D7A8
accent
#DC4C9A
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8D58CB

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

Preview Lab → · Contrast checker → · Palette generator →

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