#A475F7#A475F7

#A475F7 is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.8% C 0.188 H 297.8°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#A475F7
RGBrgb(164, 117, 247)
HSLhsl(262, 89%, 71%)
HSVhsv(262, 53%, 97%)
CMYKcmyk(33.6%, 52.6%, 0%, 3.1%)
CIE-LABlab(59.28, 45.33, -58.76)
CIE-LCHlch(59.28, 74.21, 307.65°)
OKLaboklab(66.78% 0.0876 -0.1661)
OKLCHoklch(66.78% 0.188 297.8)
XYZxyz(38.4555, 27.3300, 91.2269)
Luminance0.2733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A475F7 #C8F775
analogous
#7587F7 #A475F7 #E575F7
triadic
#A475F7 #F7A475 #75F7A4
tetradic
#A475F7 #F77587 #C8F775 #75F7E5
square
#A475F7 #F77587 #C8F775 #75F7E5
split-complementary
#A475F7 #F7E575 #87F775
monochromatic
#5B0DE4 #7E3BF4 #A475F7 #CAAFFA #ECE2FD

Accessibility & contrast

On white

3.25
#A475F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#A475F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A475F7
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A475F7#FFFFFF#000000##000000
##A475F71.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#418FFB
Deuteranopia (green-blind)
#4F8DF4
Tritanopia (blue-blind)
#928FAB
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a475f7;
/* rgb */ color: rgb(164, 117, 247);
/* oklch */ color: oklch(66.8% 0.188 297.8);
Tailwind
colors: {
  custom: {
    50: '#c39efa',
    500: '#a475f7',
    950: '#000000',
  },
}
SCSS
$custom: #a475f7;
$custom-light: #c39efa;
$custom-dark: #000000;
JSON
{
  "hex": "#a475f7",
  "rgb": {
    "r": 164,
    "g": 117,
    "b": 247
  },
  "hsl": {
    "h": 261.692,
    "s": 89.041,
    "l": 71.373
  },
  "oklch": {
    "l": 0.66781,
    "c": 0.18781,
    "h": 297.8
  },
  "luminance": 0.2733
}

Semantic roles & 50–950 ramp

primary
#A475F7
secondary
#E9F5D3
accent
#E60093
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A475F7

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

Preview Lab → · Contrast checker → · Palette generator →

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