#A474FC#A474FC

#A474FC is a light, vivid violet. Relative luminance 0.274; OKLCH L 66.9% C 0.195 H 297.1°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#A474FC
RGBrgb(164, 116, 252)
HSLhsl(261, 96%, 72%)
HSVhsv(261, 54%, 99%)
CMYKcmyk(34.9%, 54%, 0%, 1.2%)
CIE-LABlab(59.35, 47.13, -61.40)
CIE-LCHlch(59.35, 77.40, 307.51°)
OKLaboklab(66.93% 0.089 -0.1739)
OKLCHoklch(66.93% 0.195 297.1)
XYZxyz(39.1215, 27.4110, 95.3063)
Luminance0.2741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A474FC #CCFC74
analogous
#7488FC #A474FC #E874FC
triadic
#A474FC #FCA474 #74FCA4
tetradic
#A474FC #FC7488 #CCFC74 #74FCE8
square
#A474FC #FC7488 #CCFC74 #74FCE8
split-complementary
#A474FC #FCE874 #88FC74
monochromatic
#5805F0 #7D38FB #A474FC #CBB0FD #EBE1FE

Accessibility & contrast

On white

3.24
#A474FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#A474FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A474FC
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A474FC#FFFFFF#000000##000000
##A474FC1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#398FFF
Deuteranopia (green-blind)
#488DF9
Tritanopia (blue-blind)
#9090AD
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a474fc;
/* rgb */ color: rgb(164, 116, 252);
/* oklch */ color: oklch(66.9% 0.195 297.1);
Tailwind
colors: {
  custom: {
    50: '#c39dfe',
    500: '#a474fc',
    950: '#000000',
  },
}
SCSS
$custom: #a474fc;
$custom-light: #c39dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#a474fc",
  "rgb": {
    "r": 164,
    "g": 116,
    "b": 252
  },
  "hsl": {
    "h": 261.176,
    "s": 95.775,
    "l": 72.157
  },
  "oklch": {
    "l": 0.66928,
    "c": 0.19533,
    "h": 297.1
  },
  "luminance": 0.27412
}

Semantic roles & 50–950 ramp

primary
#A474FC
secondary
#EBF7D4
accent
#E60095
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A474FC

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

Preview Lab → · Contrast checker → · Palette generator →

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