#A578F7#A578F7

#A578F7 is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.4% C 0.184 H 297.6°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#A578F7
RGBrgb(165, 120, 247)
HSLhsl(261, 89%, 72%)
HSVhsv(261, 51%, 97%)
CMYKcmyk(33.2%, 51.4%, 0%, 3.1%)
CIE-LABlab(60.02, 43.92, -57.56)
CIE-LCHlch(60.02, 72.41, 307.35°)
OKLaboklab(67.35% 0.0851 -0.1626)
OKLCHoklch(67.35% 0.184 297.6)
XYZxyz(39.0179, 28.1472, 91.3550)
Luminance0.2815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A578F7 #CAF778
analogous
#788BF7 #A578F7 #E578F7
triadic
#A578F7 #F7A578 #78F7A5
tetradic
#A578F7 #F7788B #CAF778 #78F7E5
square
#A578F7 #F7788B #CAF778 #78F7E5
split-complementary
#A578F7 #F7E578 #8BF778
monochromatic
#5B0EE7 #7E3EF4 #A578F7 #CCB2FA #ECE2FD

Accessibility & contrast

On white

3.17
#A578F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#A578F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A578F7
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A578F7#FFFFFF#000000##000000
##A578F71.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4891FB
Deuteranopia (green-blind)
#548FF4
Tritanopia (blue-blind)
#9391AC
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a578f7;
/* rgb */ color: rgb(165, 120, 247);
/* oklch */ color: oklch(67.4% 0.184 297.6);
Tailwind
colors: {
  custom: {
    50: '#c3a0fa',
    500: '#a578f7',
    950: '#000000',
  },
}
SCSS
$custom: #a578f7;
$custom-light: #c3a0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a578f7",
  "rgb": {
    "r": 165,
    "g": 120,
    "b": 247
  },
  "hsl": {
    "h": 261.26,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.67354,
    "c": 0.18352,
    "h": 297.6
  },
  "luminance": 0.28148
}

Semantic roles & 50–950 ramp

primary
#A578F7
secondary
#EAF5D5
accent
#E50094
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #A578F7

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

Preview Lab → · Contrast checker → · Palette generator →

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