#A478FB#A478FB

#A478FB is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.5% C 0.188 H 296.5°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#A478FB
RGBrgb(164, 120, 251)
HSLhsl(260, 94%, 73%)
HSVhsv(260, 52%, 98%)
CMYKcmyk(34.7%, 52.2%, 0%, 1.6%)
CIE-LABlab(60.15, 44.69, -59.57)
CIE-LCHlch(60.15, 74.47, 306.88°)
OKLaboklab(67.5% 0.0841 -0.1685)
OKLCHoklch(67.5% 0.188 296.5)
XYZxyz(39.4345, 28.2899, 94.6310)
Luminance0.2829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A478FB #CFFB78
analogous
#788DFB #A478FB #E678FB
triadic
#A478FB #FBA478 #78FBA4
tetradic
#A478FB #FB788D #CFFB78 #78FBE6
square
#A478FB #FB788D #CFFB78 #78FBE6
split-complementary
#A478FB #FBE678 #8DFB78
monochromatic
#5607F1 #7C3DF9 #A478FB #CCB3FD #EBE1FE

Accessibility & contrast

On white

3.15
#A478FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#A478FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A478FB
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A478FB#FFFFFF#000000##000000
##A478FB1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4392FF
Deuteranopia (green-blind)
#4F8FF8
Tritanopia (blue-blind)
#9092AE
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a478fb;
/* rgb */ color: rgb(164, 120, 251);
/* oklch */ color: oklch(67.5% 0.188 296.5);
Tailwind
colors: {
  custom: {
    50: '#c3a0fd',
    500: '#a478fb',
    950: '#000000',
  },
}
SCSS
$custom: #a478fb;
$custom-light: #c3a0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a478fb",
  "rgb": {
    "r": 164,
    "g": 120,
    "b": 251
  },
  "hsl": {
    "h": 260.153,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.67499,
    "c": 0.18833,
    "h": 296.5
  },
  "luminance": 0.2829
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A478FB

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

Preview Lab → · Contrast checker → · Palette generator →

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