#8A58C1#8A58C1

#8A58C1 is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.3% C 0.161 H 303.6°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8A58C1
RGBrgb(138, 88, 193)
HSLhsl(269, 46%, 55%)
HSVhsv(269, 54%, 76%)
CMYKcmyk(28.5%, 54.4%, 0%, 24.3%)
CIE-LABlab(47.28, 41.49, -47.56)
CIE-LCHlch(47.28, 63.11, 311.10°)
OKLaboklab(56.29% 0.0892 -0.134)
OKLCHoklch(56.29% 0.161 303.6)
XYZxyz(23.5945, 16.2330, 52.3320)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A58C1 #8FC158
analogous
#585BC1 #8A58C1 #BE58C1
triadic
#8A58C1 #C18A58 #58C18A
tetradic
#8A58C1 #C1585B #8FC158 #58C1BE
square
#8A58C1 #C1585B #8FC158 #58C1BE
split-complementary
#8A58C1 #C1BE58 #5BC158
monochromatic
#4E2B74 #6B3CA0 #8A58C1 #A985D2 #C9B1E2

Accessibility & contrast

On white

4.95
#8A58C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#8A58C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A58C1
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A58C1#FFFFFF#000000##FFFFFF
##8A58C11.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326FC5
Deuteranopia (green-blind)
#4370BE
Tritanopia (blue-blind)
#806C84
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8a58c1;
/* rgb */ color: rgb(138, 88, 193);
/* oklch */ color: oklch(56.3% 0.161 303.6);
Tailwind
colors: {
  custom: {
    50: '#af89d4',
    500: '#8a58c1',
    950: '#000000',
  },
}
SCSS
$custom: #8a58c1;
$custom-light: #af89d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a58c1",
  "rgb": {
    "r": 138,
    "g": 88,
    "b": 193
  },
  "hsl": {
    "h": 268.571,
    "s": 45.852,
    "l": 55.098
  },
  "oklch": {
    "l": 0.56291,
    "c": 0.161,
    "h": 303.6
  },
  "luminance": 0.16233
}

Semantic roles & 50–950 ramp

primary
#8A58C1
secondary
#BBD0A4
accent
#D65297
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #8A58C1

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

Preview Lab → · Contrast checker → · Palette generator →

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