#8A58CC#8A58CC

#8A58CC is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.0% C 0.174 H 300.9°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8A58CC
RGBrgb(138, 88, 204)
HSLhsl(266, 53%, 57%)
HSVhsv(266, 57%, 80%)
CMYKcmyk(32.4%, 56.9%, 0%, 20%)
CIE-LABlab(47.93, 44.22, -52.86)
CIE-LCHlch(47.93, 68.91, 309.91°)
OKLaboklab(56.98% 0.0895 -0.1496)
OKLCHoklch(56.98% 0.174 300.9)
XYZxyz(24.8675, 16.7422, 59.0365)
Luminance0.1674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A58CC #9ACC58
analogous
#5860CC #8A58CC #C458CC
triadic
#8A58CC #CC8A58 #58CC8A
tetradic
#8A58CC #CC5860 #9ACC58 #58CCC4
square
#8A58CC #CC5860 #9ACC58 #58CCC4
split-complementary
#8A58CC #CCC458 #60CC58
monochromatic
#4F2882 #6B36B1 #8A58CC #AB87DA #CCB6E9

Accessibility & contrast

On white

4.83
#8A58CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#8A58CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A58CC
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A58CC#FFFFFF#000000##FFFFFF
##8A58CC1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2471D0
Deuteranopia (green-blind)
#3871C9
Tritanopia (blue-blind)
#7D6F8A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8a58cc;
/* rgb */ color: rgb(138, 88, 204);
/* oklch */ color: oklch(57.0% 0.174 300.9);
Tailwind
colors: {
  custom: {
    50: '#b089dc',
    500: '#8a58cc',
    950: '#000000',
  },
}
SCSS
$custom: #8a58cc;
$custom-light: #b089dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a58cc",
  "rgb": {
    "r": 138,
    "g": 88,
    "b": 204
  },
  "hsl": {
    "h": 265.862,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.56984,
    "c": 0.1743,
    "h": 300.9
  },
  "luminance": 0.16742
}

Semantic roles & 50–950 ramp

primary
#8A58CC
secondary
#C3D7A8
accent
#DD4B9E
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8A58CC

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

Preview Lab → · Contrast checker → · Palette generator →

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