#A475EB#A475EB

#A475EB is a light, vivid violet. Relative luminance 0.266; OKLCH L 66.1% C 0.173 H 300.1°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#A475EB
RGBrgb(164, 117, 235)
HSLhsl(264, 75%, 69%)
HSVhsv(264, 50%, 92%)
CMYKcmyk(30.2%, 50.2%, 0%, 7.8%)
CIE-LABlab(58.61, 42.36, -53.16)
CIE-LCHlch(58.61, 67.97, 308.55°)
OKLaboklab(66.07% 0.0868 -0.1497)
OKLCHoklch(66.07% 0.173 300.1)
XYZxyz(36.6630, 26.6130, 81.7864)
Luminance0.2661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A475EB #BCEB75
analogous
#7581EB #A475EB #DF75EB
triadic
#A475EB #EBA475 #75EBA4
tetradic
#A475EB #EB7581 #BCEB75 #75EBDF
square
#A475EB #EB7581 #BCEB75 #75EBDF
split-complementary
#A475EB #EBDF75 #81EB75
monochromatic
#611DC9 #8140E3 #A475EB #C7AAF3 #EAE0FA

Accessibility & contrast

On white

3.32
#A475EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#A475EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A475EB
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A475EB#FFFFFF#000000##000000
##A475EB1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8DEF
Deuteranopia (green-blind)
#598CE8
Tritanopia (blue-blind)
#968BA5
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a475eb;
/* rgb */ color: rgb(164, 117, 235);
/* oklch */ color: oklch(66.1% 0.173 300.1);
Tailwind
colors: {
  custom: {
    50: '#c29ef2',
    500: '#a475eb',
    950: '#000000',
  },
}
SCSS
$custom: #a475eb;
$custom-light: #c29ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#a475eb",
  "rgb": {
    "r": 164,
    "g": 117,
    "b": 235
  },
  "hsl": {
    "h": 263.898,
    "s": 74.684,
    "l": 69.02
  },
  "oklch": {
    "l": 0.66073,
    "c": 0.17306,
    "h": 300.1
  },
  "luminance": 0.26613
}

Semantic roles & 50–950 ramp

primary
#A475EB
secondary
#E1EFCD
accent
#D70F87
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A475EB

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

Preview Lab → · Contrast checker → · Palette generator →

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