#8A58CD#8A58CD

#8A58CD is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.0% C 0.175 H 300.7°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8A58CD
RGBrgb(138, 88, 205)
HSLhsl(266, 54%, 57%)
HSVhsv(266, 57%, 80%)
CMYKcmyk(32.7%, 57.1%, 0%, 19.6%)
CIE-LABlab(47.99, 44.47, -53.33)
CIE-LCHlch(47.99, 69.44, 309.82°)
OKLaboklab(57.05% 0.0895 -0.1509)
OKLCHoklch(57.05% 0.176 300.7)
XYZxyz(24.9878, 16.7904, 59.6702)
Luminance0.1679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A58CD #9BCD58
analogous
#5861CD #8A58CD #C458CD
triadic
#8A58CD #CD8A58 #58CD8A
tetradic
#8A58CD #CD5861 #9BCD58 #58CDC4
square
#8A58CD #CD5861 #9BCD58 #58CDC4
split-complementary
#8A58CD #CDC458 #61CD58
monochromatic
#4F2783 #6B35B2 #8A58CD #AB87DB #CCB6E9

Accessibility & contrast

On white

4.82
#8A58CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#8A58CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A58CD
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A58CD#FFFFFF#000000##FFFFFF
##8A58CD1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2271D1
Deuteranopia (green-blind)
#3771CA
Tritanopia (blue-blind)
#7C708A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8a58cd;
/* rgb */ color: rgb(138, 88, 205);
/* oklch */ color: oklch(57.0% 0.175 300.7);
Tailwind
colors: {
  custom: {
    50: '#b089dd',
    500: '#8a58cd',
    950: '#000000',
  },
}
SCSS
$custom: #8a58cd;
$custom-light: #b089dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a58cd",
  "rgb": {
    "r": 138,
    "g": 88,
    "b": 205
  },
  "hsl": {
    "h": 265.641,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57048,
    "c": 0.1755,
    "h": 300.7
  },
  "luminance": 0.1679
}

Semantic roles & 50–950 ramp

primary
#8A58CD
secondary
#C4D8A9
accent
#DD4B9F
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8A58CD

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

Preview Lab → · Contrast checker → · Palette generator →

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