#A478FC#A478FC

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

Color values

HEX#A478FC
RGBrgb(164, 120, 252)
HSLhsl(260, 96%, 73%)
HSVhsv(260, 52%, 99%)
CMYKcmyk(34.9%, 52.4%, 0%, 1.2%)
CIE-LABlab(60.21, 44.94, -60.03)
CIE-LCHlch(60.21, 74.99, 306.82°)
OKLaboklab(67.56% 0.0841 -0.1699)
OKLCHoklch(67.56% 0.19 296.3)
XYZxyz(39.5926, 28.3531, 95.4633)
Luminance0.2835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A478FC #D0FC78
analogous
#788EFC #A478FC #E678FC
triadic
#A478FC #FCA478 #78FCA4
tetradic
#A478FC #FC788E #D0FC78 #78FCE6
square
#A478FC #FC788E #D0FC78 #78FCE6
split-complementary
#A478FC #FCE678 #8EFC78
monochromatic
#5505F4 #7C3CFB #A478FC #CCB4FD #EBE1FE

Accessibility & contrast

On white

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

On black

6.67
#A478FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A478FC
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A478FC#FFFFFF#000000##000000
##A478FC1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4292FF
Deuteranopia (green-blind)
#4E8FF9
Tritanopia (blue-blind)
#9092AF
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a478fc;
/* rgb */ color: rgb(164, 120, 252);
/* oklch */ color: oklch(67.6% 0.190 296.3);
Tailwind
colors: {
  custom: {
    50: '#c3a0fe',
    500: '#a478fc',
    950: '#000000',
  },
}
SCSS
$custom: #a478fc;
$custom-light: #c3a0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#a478fc",
  "rgb": {
    "r": 164,
    "g": 120,
    "b": 252
  },
  "hsl": {
    "h": 260,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.6756,
    "c": 0.18956,
    "h": 296.3
  },
  "luminance": 0.28354
}

Semantic roles & 50–950 ramp

primary
#A478FC
secondary
#EBF7D4
accent
#E60099
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F18
muted
#827E86

Preview Lab

Preview with #A478FC

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

Preview Lab → · Contrast checker → · Palette generator →

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