#8D58F2#8D58F2

#8D58F2 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.9% C 0.219 H 294.7°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8D58F2
RGBrgb(141, 88, 242)
HSLhsl(261, 86%, 65%)
HSVhsv(261, 64%, 95%)
CMYKcmyk(41.7%, 63.6%, 0%, 5.1%)
CIE-LABlab(50.75, 54.59, -69.83)
CIE-LCHlch(50.75, 88.64, 308.02°)
OKLaboklab(59.9% 0.0917 -0.1994)
OKLCHoklch(59.9% 0.219 294.7)
XYZxyz(30.4970, 19.0522, 86.0578)
Luminance0.1905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D58F2 #BDF258
analogous
#5870F2 #8D58F2 #DA58F2
triadic
#8D58F2 #F28D58 #58F28D
tetradic
#8D58F2 #F25870 #BDF258 #58F2DA
square
#8D58F2 #F25870 #BDF258 #58F2DA
split-complementary
#8D58F2 #F2DA58 #70F258
monochromatic
#4C0FC1 #661FEE #8D58F2 #B491F6 #DBCAFB

Accessibility & contrast

On white

4.37
#8D58F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#8D58F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D58F2
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D58F2#FFFFFF#000000##000000
##8D58F21.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF7
Deuteranopia (green-blind)
#0076EF
Tritanopia (blue-blind)
#727C9D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8d58f2;
/* rgb */ color: rgb(141, 88, 242);
/* oklch */ color: oklch(59.9% 0.219 294.7);
Tailwind
colors: {
  custom: {
    50: '#b58af7',
    500: '#8d58f2',
    950: '#000000',
  },
}
SCSS
$custom: #8d58f2;
$custom-light: #b58af7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d58f2",
  "rgb": {
    "r": 141,
    "g": 88,
    "b": 242
  },
  "hsl": {
    "h": 260.649,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.59901,
    "c": 0.21943,
    "h": 294.7
  },
  "luminance": 0.19053
}

Semantic roles & 50–950 ramp

primary
#8D58F2
secondary
#DBEDB8
accent
#E20395
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D58F2

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

Preview Lab → · Contrast checker → · Palette generator →

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