#A475F1#A475F1

#A475F1 is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.4% C 0.180 H 298.9°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#A475F1
RGBrgb(164, 117, 241)
HSLhsl(263, 82%, 70%)
HSVhsv(263, 51%, 95%)
CMYKcmyk(32%, 51.5%, 0%, 5.5%)
CIE-LABlab(58.94, 43.84, -55.97)
CIE-LCHlch(58.94, 71.09, 308.07°)
OKLaboklab(66.42% 0.0872 -0.158)
OKLCHoklch(66.42% 0.18 298.9)
XYZxyz(37.5445, 26.9656, 86.4289)
Luminance0.2697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A475F1 #C2F175
analogous
#7584F1 #A475F1 #E275F1
triadic
#A475F1 #F1A475 #75F1A4
tetradic
#A475F1 #F17584 #C2F175 #75F1E2
square
#A475F1 #F17584 #C2F175 #75F1E2
split-complementary
#A475F1 #F1E275 #84F175
monochromatic
#5F16D6 #7F3DEB #A475F1 #C9ADF7 #EDE3FC

Accessibility & contrast

On white

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

On black

6.39
#A475F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A475F1
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A475F1#FFFFFF#000000##000000
##A475F11.003.286.396.39
#FFFFFF3.281.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#478EF5
Deuteranopia (green-blind)
#548DEE
Tritanopia (blue-blind)
#948DA8
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a475f1;
/* rgb */ color: rgb(164, 117, 241);
/* oklch */ color: oklch(66.4% 0.180 298.9);
Tailwind
colors: {
  custom: {
    50: '#c29ef6',
    500: '#a475f1',
    950: '#000000',
  },
}
SCSS
$custom: #a475f1;
$custom-light: #c29ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#a475f1",
  "rgb": {
    "r": 164,
    "g": 117,
    "b": 241
  },
  "hsl": {
    "h": 262.742,
    "s": 81.579,
    "l": 70.196
  },
  "oklch": {
    "l": 0.66423,
    "c": 0.18045,
    "h": 298.9
  },
  "luminance": 0.26966
}

Semantic roles & 50–950 ramp

primary
#A475F1
secondary
#E5F2D0
accent
#DE088D
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A475F1

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

Preview Lab → · Contrast checker → · Palette generator →

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