#A758DC#A758DC

#A758DC is a mid, vivid violet. Relative luminance 0.204; OKLCH L 61.2% C 0.200 H 309.3°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#A758DC
RGBrgb(167, 88, 220)
HSLhsl(276, 65%, 60%)
HSVhsv(276, 60%, 86%)
CMYKcmyk(24.1%, 60%, 0%, 13.7%)
CIE-LABlab(52.24, 54.91, -54.89)
CIE-LCHlch(52.24, 77.64, 315.01°)
OKLaboklab(61.19% 0.1266 -0.1546)
OKLCHoklch(61.19% 0.2 309.3)
XYZxyz(32.3418, 20.3628, 69.9229)
Luminance0.2036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A758DC #8DDC58
analogous
#6558DC #A758DC #DC58CF
triadic
#A758DC #DCA758 #58DCA7
tetradic
#A758DC #DC6558 #8DDC58 #58CFDC
square
#A758DC #DC6558 #8DDC58 #58CFDC
split-complementary
#A758DC #CFDC58 #58DC65
monochromatic
#692099 #8B2BCC #A758DC #C28BE7 #DCBDF1

Accessibility & contrast

On white

4.14
#A758DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#A758DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A758DC
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A758DC#FFFFFF#000000##000000
##A758DC1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2179E0
Deuteranopia (green-blind)
#477ED9
Tritanopia (blue-blind)
#A07192
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a758dc;
/* rgb */ color: rgb(167, 88, 220);
/* oklch */ color: oklch(61.2% 0.200 309.3);
Tailwind
colors: {
  custom: {
    50: '#c58be7',
    500: '#a758dc',
    950: '#000000',
  },
}
SCSS
$custom: #a758dc;
$custom-light: #c58be7;
$custom-dark: #000000;
JSON
{
  "hex": "#a758dc",
  "rgb": {
    "r": 167,
    "g": 88,
    "b": 220
  },
  "hsl": {
    "h": 275.909,
    "s": 65.347,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61187,
    "c": 0.19983,
    "h": 309.3
  },
  "luminance": 0.20362
}

Semantic roles & 50–950 ramp

primary
#A758DC
secondary
#C3E1AF
accent
#CD1861
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A758DC

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

Preview Lab → · Contrast checker → · Palette generator →

#A758DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva