#A475F5#A475F5

#A475F5 is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.7% C 0.185 H 298.2°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#A475F5
RGBrgb(164, 117, 245)
HSLhsl(262, 86%, 71%)
HSVhsv(262, 52%, 96%)
CMYKcmyk(33.1%, 52.2%, 0%, 3.9%)
CIE-LABlab(59.17, 44.83, -57.83)
CIE-LCHlch(59.17, 73.17, 307.78°)
OKLaboklab(66.66% 0.0875 -0.1634)
OKLCHoklch(66.66% 0.185 298.2)
XYZxyz(38.1485, 27.2072, 89.6102)
Luminance0.2721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A475F5 #C6F575
analogous
#7586F5 #A475F5 #E475F5
triadic
#A475F5 #F5A475 #75F5A4
tetradic
#A475F5 #F57586 #C6F575 #75F5E4
square
#A475F5 #F57586 #C6F575 #75F5E4
split-complementary
#A475F5 #F5E475 #86F575
monochromatic
#5C10DF #7E3CF1 #A475F5 #CAAEF9 #ECE2FD

Accessibility & contrast

On white

3.26
#A475F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#A475F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A475F5
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A475F5#FFFFFF#000000##000000
##A475F51.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#438FF9
Deuteranopia (green-blind)
#518DF2
Tritanopia (blue-blind)
#928EAA
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a475f5;
/* rgb */ color: rgb(164, 117, 245);
/* oklch */ color: oklch(66.7% 0.185 298.2);
Tailwind
colors: {
  custom: {
    50: '#c39ef9',
    500: '#a475f5',
    950: '#000000',
  },
}
SCSS
$custom: #a475f5;
$custom-light: #c39ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#a475f5",
  "rgb": {
    "r": 164,
    "g": 117,
    "b": 245
  },
  "hsl": {
    "h": 262.031,
    "s": 86.486,
    "l": 70.98
  },
  "oklch": {
    "l": 0.6666,
    "c": 0.18536,
    "h": 298.2
  },
  "luminance": 0.27208
}

Semantic roles & 50–950 ramp

primary
#A475F5
secondary
#E7F4D2
accent
#E30291
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A475F5

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

Preview Lab → · Contrast checker → · Palette generator →

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