#A578EF#A578EF

#A578EF is a light, vivid violet. Relative luminance 0.277; OKLCH L 66.9% C 0.174 H 299.1°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#A578EF
RGBrgb(165, 120, 239)
HSLhsl(263, 79%, 70%)
HSVhsv(263, 50%, 94%)
CMYKcmyk(31%, 49.8%, 0%, 6.3%)
CIE-LABlab(59.58, 41.93, -53.83)
CIE-LCHlch(59.58, 68.24, 307.92°)
OKLaboklab(66.89% 0.0845 -0.1517)
OKLCHoklch(66.89% 0.174 299.1)
XYZxyz(37.8098, 27.6640, 84.9923)
Luminance0.2766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A578EF #C2EF78
analogous
#7886EF #A578EF #E078EF
triadic
#A578EF #EFA578 #78EFA5
tetradic
#A578EF #EF7886 #C2EF78 #78EFE0
square
#A578EF #EF7886 #C2EF78 #78EFE0
split-complementary
#A578EF #EFE078 #86EF78
monochromatic
#6019D4 #8141E9 #A578EF #C9AFF5 #EDE4FC

Accessibility & contrast

On white

3.21
#A578EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#A578EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A578EF
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A578EF#FFFFFF#000000##000000
##A578EF1.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8FF3
Deuteranopia (green-blind)
#5A8FEC
Tritanopia (blue-blind)
#968FA8
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a578ef;
/* rgb */ color: rgb(165, 120, 239);
/* oklch */ color: oklch(66.9% 0.174 299.1);
Tailwind
colors: {
  custom: {
    50: '#c3a0f5',
    500: '#a578ef',
    950: '#000000',
  },
}
SCSS
$custom: #a578ef;
$custom-light: #c3a0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a578ef",
  "rgb": {
    "r": 165,
    "g": 120,
    "b": 239
  },
  "hsl": {
    "h": 262.689,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.66887,
    "c": 0.17362,
    "h": 299.1
  },
  "luminance": 0.27664
}

Semantic roles & 50–950 ramp

primary
#A578EF
secondary
#E5F2D1
accent
#DB0A8C
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130F17
muted
#827E85

Preview Lab

Preview with #A578EF

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

Preview Lab → · Contrast checker → · Palette generator →

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