#8A58CE#8A58CE

#8A58CE is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.1% C 0.177 H 300.4°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8A58CE
RGBrgb(138, 88, 206)
HSLhsl(265, 55%, 58%)
HSVhsv(265, 57%, 81%)
CMYKcmyk(33%, 57.3%, 0%, 19.2%)
CIE-LABlab(48.06, 44.72, -53.81)
CIE-LCHlch(48.06, 69.96, 309.73°)
OKLaboklab(57.11% 0.0895 -0.1524)
OKLCHoklch(57.11% 0.177 300.4)
XYZxyz(25.1089, 16.8388, 60.3079)
Luminance0.1684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A58CE #9CCE58
analogous
#5861CE #8A58CE #C558CE
triadic
#8A58CE #CE8A58 #58CE8A
tetradic
#8A58CE #CE5861 #9CCE58 #58CEC5
square
#8A58CE #CE5861 #9CCE58 #58CEC5
split-complementary
#8A58CE #CEC558 #61CE58
monochromatic
#4F2785 #6B35B4 #8A58CE #AB87DC #CCB7EA

Accessibility & contrast

On white

4.81
#8A58CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#8A58CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A58CE
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A58CE#FFFFFF#000000##FFFFFF
##8A58CE1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2172D2
Deuteranopia (green-blind)
#3671CB
Tritanopia (blue-blind)
#7C708B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8a58ce;
/* rgb */ color: rgb(138, 88, 206);
/* oklch */ color: oklch(57.1% 0.177 300.4);
Tailwind
colors: {
  custom: {
    50: '#b089de',
    500: '#8a58ce',
    950: '#000000',
  },
}
SCSS
$custom: #8a58ce;
$custom-light: #b089de;
$custom-dark: #000000;
JSON
{
  "hex": "#8a58ce",
  "rgb": {
    "r": 138,
    "g": 88,
    "b": 206
  },
  "hsl": {
    "h": 265.424,
    "s": 54.63,
    "l": 57.647
  },
  "oklch": {
    "l": 0.57113,
    "c": 0.17671,
    "h": 300.4
  },
  "luminance": 0.16839
}

Semantic roles & 50–950 ramp

primary
#8A58CE
secondary
#C5D9A9
accent
#DE4A9F
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8A58CE

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

Preview Lab → · Contrast checker → · Palette generator →

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