#A475F2#A475F2

#A475F2 is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.5% C 0.182 H 298.7°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#A475F2
RGBrgb(164, 117, 242)
HSLhsl(263, 83%, 70%)
HSVhsv(263, 52%, 95%)
CMYKcmyk(32.2%, 51.7%, 0%, 5.1%)
CIE-LABlab(59.00, 44.09, -56.44)
CIE-LCHlch(59.00, 71.61, 308.00°)
OKLaboklab(66.48% 0.0873 -0.1593)
OKLCHoklch(66.48% 0.182 298.7)
XYZxyz(37.6943, 27.0255, 87.2177)
Luminance0.2703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A475F2 #C3F275
analogous
#7584F2 #A475F2 #E275F2
triadic
#A475F2 #F2A475 #75F2A4
tetradic
#A475F2 #F27584 #C3F275 #75F2E2
square
#A475F2 #F27584 #C3F275 #75F2E2
split-complementary
#A475F2 #F2E275 #84F275
monochromatic
#5E14D8 #7F3DED #A475F2 #C9ADF7 #EDE3FC

Accessibility & contrast

On white

3.28
#A475F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#A475F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A475F2
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A475F2#FFFFFF#000000##000000
##A475F21.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#468EF6
Deuteranopia (green-blind)
#538DEF
Tritanopia (blue-blind)
#938DA9
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a475f2;
/* rgb */ color: rgb(164, 117, 242);
/* oklch */ color: oklch(66.5% 0.182 298.7);
Tailwind
colors: {
  custom: {
    50: '#c29ef7',
    500: '#a475f2',
    950: '#000000',
  },
}
SCSS
$custom: #a475f2;
$custom-light: #c29ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#a475f2",
  "rgb": {
    "r": 164,
    "g": 117,
    "b": 242
  },
  "hsl": {
    "h": 262.56,
    "s": 82.781,
    "l": 70.392
  },
  "oklch": {
    "l": 0.66482,
    "c": 0.18168,
    "h": 298.7
  },
  "luminance": 0.27026
}

Semantic roles & 50–950 ramp

primary
#A475F2
secondary
#E6F3D0
accent
#DF068E
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A475F2

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

Preview Lab → · Contrast checker → · Palette generator →

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