#8A58C8#8A58C8

#8A58C8 is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.7% C 0.169 H 301.9°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#8A58C8
RGBrgb(138, 88, 200)
HSLhsl(267, 50%, 56%)
HSVhsv(267, 56%, 78%)
CMYKcmyk(31%, 56%, 0%, 21.6%)
CIE-LABlab(47.69, 43.22, -50.94)
CIE-LCHlch(47.69, 66.80, 310.31°)
OKLaboklab(56.73% 0.0894 -0.1439)
OKLCHoklch(56.73% 0.169 301.9)
XYZxyz(24.3939, 16.5528, 56.5422)
Luminance0.1655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A58C8 #96C858
analogous
#585EC8 #8A58C8 #C258C8
triadic
#8A58C8 #C88A58 #58C88A
tetradic
#8A58C8 #C8585E #96C858 #58C8C2
square
#8A58C8 #C8585E #96C858 #58C8C2
split-complementary
#8A58C8 #C8C258 #5EC858
monochromatic
#4E297D #6B38AB #8A58C8 #AA86D7 #CBB4E6

Accessibility & contrast

On white

4.87
#8A58C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#8A58C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A58C8
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A58C8#FFFFFF#000000##FFFFFF
##8A58C81.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A70CC
Deuteranopia (green-blind)
#3C71C5
Tritanopia (blue-blind)
#7E6E87
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8a58c8;
/* rgb */ color: rgb(138, 88, 200);
/* oklch */ color: oklch(56.7% 0.169 301.9);
Tailwind
colors: {
  custom: {
    50: '#b089d9',
    500: '#8a58c8',
    950: '#000000',
  },
}
SCSS
$custom: #8a58c8;
$custom-light: #b089d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a58c8",
  "rgb": {
    "r": 138,
    "g": 88,
    "b": 200
  },
  "hsl": {
    "h": 266.786,
    "s": 50.45,
    "l": 56.471
  },
  "oklch": {
    "l": 0.56728,
    "c": 0.16947,
    "h": 301.9
  },
  "luminance": 0.16553
}

Semantic roles & 50–950 ramp

primary
#8A58C8
secondary
#C0D5A7
accent
#DA4E9B
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8A58C8

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

Preview Lab → · Contrast checker → · Palette generator →

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