#8D58F8#8D58F8

#8D58F8 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.3% C 0.226 H 293.7°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#8D58F8
RGBrgb(141, 88, 248)
HSLhsl(260, 92%, 66%)
HSVhsv(260, 65%, 97%)
CMYKcmyk(43.1%, 64.5%, 0%, 2.7%)
CIE-LABlab(51.17, 56.15, -72.49)
CIE-LCHlch(51.17, 91.70, 307.76°)
OKLaboklab(60.34% 0.0911 -0.2072)
OKLCHoklch(60.34% 0.226 293.7)
XYZxyz(31.4129, 19.4186, 90.8818)
Luminance0.1942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D58F8 #C3F858
analogous
#5873F8 #8D58F8 #DD58F8
triadic
#8D58F8 #F88D58 #58F88D
tetradic
#8D58F8 #F85873 #C3F858 #58F8DD
square
#8D58F8 #F85873 #C3F858 #58F8DD
split-complementary
#8D58F8 #F8DD58 #73F858
monochromatic
#4A09CD #651DF6 #8D58F8 #B593FA #DDCDFD

Accessibility & contrast

On white

4.30
#8D58F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#8D58F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D58F8
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D58F8#FFFFFF#000000##000000
##8D58F81.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFD
Deuteranopia (green-blind)
#0077F5
Tritanopia (blue-blind)
#6F7EA1
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8d58f8;
/* rgb */ color: rgb(141, 88, 248);
/* oklch */ color: oklch(60.3% 0.226 293.7);
Tailwind
colors: {
  custom: {
    50: '#b68afc',
    500: '#8d58f8',
    950: '#000000',
  },
}
SCSS
$custom: #8d58f8;
$custom-light: #b68afc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d58f8",
  "rgb": {
    "r": 141,
    "g": 88,
    "b": 248
  },
  "hsl": {
    "h": 259.875,
    "s": 91.954,
    "l": 65.882
  },
  "oklch": {
    "l": 0.60341,
    "c": 0.22631,
    "h": 293.7
  },
  "luminance": 0.19419
}

Semantic roles & 50–950 ramp

primary
#8D58F8
secondary
#DFF0BB
accent
#E60099
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #8D58F8

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

Preview Lab → · Contrast checker → · Palette generator →

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