#A578E7#A578E7

#A578E7 is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.4% C 0.164 H 300.8°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#A578E7
RGBrgb(165, 120, 231)
HSLhsl(264, 70%, 69%)
HSVhsv(264, 48%, 91%)
CMYKcmyk(28.6%, 48.1%, 0%, 9.4%)
CIE-LABlab(59.16, 39.97, -50.06)
CIE-LCHlch(59.16, 64.06, 308.61°)
OKLaboklab(66.43% 0.0837 -0.1407)
OKLCHoklch(66.43% 0.164 300.8)
XYZxyz(36.6540, 27.2016, 78.9052)
Luminance0.2720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A578E7 #BAE778
analogous
#7883E7 #A578E7 #DC78E7
triadic
#A578E7 #E7A578 #78E7A5
tetradic
#A578E7 #E77883 #BAE778 #78E7DC
square
#A578E7 #E77883 #BAE778 #78E7DC
split-complementary
#A578E7 #E7DC78 #83E778
monochromatic
#6323C2 #8244DE #A578E7 #C8ACF0 #EAE0F9

Accessibility & contrast

On white

3.26
#A578E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#A578E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A578E7
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A578E7#FFFFFF#000000##000000
##A578E71.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#558EEB
Deuteranopia (green-blind)
#608EE4
Tritanopia (blue-blind)
#988CA5
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a578e7;
/* rgb */ color: rgb(165, 120, 231);
/* oklch */ color: oklch(66.4% 0.164 300.8);
Tailwind
colors: {
  custom: {
    50: '#c2a0ef',
    500: '#a578e7',
    950: '#000000',
  },
}
SCSS
$custom: #a578e7;
$custom-light: #c2a0ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a578e7",
  "rgb": {
    "r": 165,
    "g": 120,
    "b": 231
  },
  "hsl": {
    "h": 264.324,
    "s": 69.811,
    "l": 68.824
  },
  "oklch": {
    "l": 0.66434,
    "c": 0.16367,
    "h": 300.8
  },
  "luminance": 0.27202
}

Semantic roles & 50–950 ramp

primary
#A578E7
secondary
#E1EECD
accent
#D21485
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F16
muted
#827E84

Preview Lab

Preview with #A578E7

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

Preview Lab → · Contrast checker → · Palette generator →

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