#A578FB#A578FB

#A578FB is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.6% C 0.188 H 296.9°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#A578FB
RGBrgb(165, 120, 251)
HSLhsl(261, 94%, 73%)
HSVhsv(261, 52%, 98%)
CMYKcmyk(34.3%, 52.2%, 0%, 1.6%)
CIE-LABlab(60.25, 44.93, -59.41)
CIE-LCHlch(60.25, 74.49, 307.10°)
OKLaboklab(67.59% 0.0853 -0.168)
OKLCHoklch(67.59% 0.188 296.9)
XYZxyz(39.6418, 28.3967, 94.6407)
Luminance0.2840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A578FB #CEFB78
analogous
#788CFB #A578FB #E778FB
triadic
#A578FB #FBA578 #78FBA5
tetradic
#A578FB #FB788C #CEFB78 #78FBE7
square
#A578FB #FB788C #CEFB78 #78FBE7
split-complementary
#A578FB #FBE778 #8CFB78
monochromatic
#5807F1 #7D3DF9 #A578FB #CDB3FD #EBE1FE

Accessibility & contrast

On white

3.14
#A578FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#A578FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A578FB
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A578FB#FFFFFF#000000##000000
##A578FB1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4492FF
Deuteranopia (green-blind)
#5090F8
Tritanopia (blue-blind)
#9292AE
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a578fb;
/* rgb */ color: rgb(165, 120, 251);
/* oklch */ color: oklch(67.6% 0.188 296.9);
Tailwind
colors: {
  custom: {
    50: '#c4a0fd',
    500: '#a578fb',
    950: '#000000',
  },
}
SCSS
$custom: #a578fb;
$custom-light: #c4a0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a578fb",
  "rgb": {
    "r": 165,
    "g": 120,
    "b": 251
  },
  "hsl": {
    "h": 260.611,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.67593,
    "c": 0.18845,
    "h": 296.9
  },
  "luminance": 0.28397
}

Semantic roles & 50–950 ramp

primary
#A578FB
secondary
#EBF6D5
accent
#E60097
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F18
muted
#827E86

Preview Lab

Preview with #A578FB

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

Preview Lab → · Contrast checker → · Palette generator →

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