#8A58D1#8A58D1

#8A58D1 is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.3% C 0.180 H 299.8°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8A58D1
RGBrgb(138, 88, 209)
HSLhsl(265, 57%, 58%)
HSVhsv(265, 58%, 82%)
CMYKcmyk(34%, 57.9%, 0%, 18%)
CIE-LABlab(48.24, 45.48, -55.23)
CIE-LCHlch(48.24, 71.54, 309.47°)
OKLaboklab(57.31% 0.0895 -0.1565)
OKLCHoklch(57.31% 0.18 299.8)
XYZxyz(25.4768, 16.9860, 62.2456)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A58D1 #9FD158
analogous
#5862D1 #8A58D1 #C658D1
triadic
#8A58D1 #D18A58 #58D18A
tetradic
#8A58D1 #D15862 #9FD158 #58D1C6
square
#8A58D1 #D15862 #9FD158 #58D1C6
split-complementary
#8A58D1 #D1C658 #62D158
monochromatic
#4F2689 #6A33B9 #8A58D1 #AC88DE #CDB8EB

Accessibility & contrast

On white

4.78
#8A58D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#8A58D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A58D1
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A58D1#FFFFFF#000000##FFFFFF
##8A58D11.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B72D5
Deuteranopia (green-blind)
#3272CE
Tritanopia (blue-blind)
#7B718C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8a58d1;
/* rgb */ color: rgb(138, 88, 209);
/* oklch */ color: oklch(57.3% 0.180 299.8);
Tailwind
colors: {
  custom: {
    50: '#b089e0',
    500: '#8a58d1',
    950: '#000000',
  },
}
SCSS
$custom: #8a58d1;
$custom-light: #b089e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a58d1",
  "rgb": {
    "r": 138,
    "g": 88,
    "b": 209
  },
  "hsl": {
    "h": 264.793,
    "s": 56.808,
    "l": 58.235
  },
  "oklch": {
    "l": 0.57309,
    "c": 0.18032,
    "h": 299.8
  },
  "luminance": 0.16986
}

Semantic roles & 50–950 ramp

primary
#8A58D1
secondary
#C7DAAA
accent
#E048A1
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8A58D1

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

Preview Lab → · Contrast checker → · Palette generator →

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