#A479F2#A479F2

#A479F2 is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.1% C 0.176 H 297.9°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#A479F2
RGBrgb(164, 121, 242)
HSLhsl(261, 82%, 71%)
HSVhsv(261, 50%, 95%)
CMYKcmyk(32.2%, 50%, 0%, 5.1%)
CIE-LABlab(59.87, 41.87, -55.05)
CIE-LCHlch(59.87, 69.16, 307.26°)
OKLaboklab(67.13% 0.0822 -0.1553)
OKLCHoklch(67.13% 0.176 297.9)
XYZxyz(38.1703, 27.9776, 87.3764)
Luminance0.2798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A479F2 #C7F279
analogous
#798AF2 #A479F2 #E079F2
triadic
#A479F2 #F2A479 #79F2A4
tetradic
#A479F2 #F2798A #C7F279 #79F2E0
square
#A479F2 #F2798A #C7F279 #79F2E0
split-complementary
#A479F2 #F2E079 #8AF279
monochromatic
#5C15DB #7E41ED #A479F2 #CAB1F7 #ECE3FC

Accessibility & contrast

On white

3.18
#A479F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#A479F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A479F2
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A479F2#FFFFFF#000000##000000
##A479F21.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E90F6
Deuteranopia (green-blind)
#588FEF
Tritanopia (blue-blind)
#9390AA
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a479f2;
/* rgb */ color: rgb(164, 121, 242);
/* oklch */ color: oklch(67.1% 0.176 297.9);
Tailwind
colors: {
  custom: {
    50: '#c2a0f7',
    500: '#a479f2',
    950: '#000000',
  },
}
SCSS
$custom: #a479f2;
$custom-light: #c2a0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a479f2",
  "rgb": {
    "r": 164,
    "g": 121,
    "b": 242
  },
  "hsl": {
    "h": 261.322,
    "s": 82.313,
    "l": 71.176
  },
  "oklch": {
    "l": 0.67129,
    "c": 0.1757,
    "h": 297.9
  },
  "luminance": 0.27978
}

Semantic roles & 50–950 ramp

primary
#A479F2
secondary
#E8F3D3
accent
#DF0792
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #A479F2

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

Preview Lab → · Contrast checker → · Palette generator →

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