#A474EB#A474EB

#A474EB is a light, vivid violet. Relative luminance 0.264; OKLCH L 65.9% C 0.175 H 300.3°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#A474EB
RGBrgb(164, 116, 235)
HSLhsl(264, 75%, 69%)
HSVhsv(264, 51%, 92%)
CMYKcmyk(30.2%, 50.6%, 0%, 7.8%)
CIE-LABlab(58.40, 42.91, -53.50)
CIE-LCHlch(58.40, 68.59, 308.73°)
OKLaboklab(65.91% 0.0881 -0.1507)
OKLCHoklch(65.91% 0.175 300.3)
XYZxyz(36.5471, 26.3812, 81.7478)
Luminance0.2638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A474EB #BBEB74
analogous
#7480EB #A474EB #E074EB
triadic
#A474EB #EBA474 #74EBA4
tetradic
#A474EB #EB7480 #BBEB74 #74EBE0
square
#A474EB #EB7480 #BBEB74 #74EBE0
split-complementary
#A474EB #EBE074 #80EB74
monochromatic
#621DC8 #813EE3 #A474EB #C7AAF3 #EADFFA

Accessibility & contrast

On white

3.35
#A474EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#A474EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A474EB
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A474EB#FFFFFF#000000##000000
##A474EB1.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8CEF
Deuteranopia (green-blind)
#588CE8
Tritanopia (blue-blind)
#968AA5
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a474eb;
/* rgb */ color: rgb(164, 116, 235);
/* oklch */ color: oklch(65.9% 0.175 300.3);
Tailwind
colors: {
  custom: {
    50: '#c29df2',
    500: '#a474eb',
    950: '#000000',
  },
}
SCSS
$custom: #a474eb;
$custom-light: #c29df2;
$custom-dark: #000000;
JSON
{
  "hex": "#a474eb",
  "rgb": {
    "r": 164,
    "g": 116,
    "b": 235
  },
  "hsl": {
    "h": 264.202,
    "s": 74.843,
    "l": 68.824
  },
  "oklch": {
    "l": 0.65911,
    "c": 0.17459,
    "h": 300.3
  },
  "luminance": 0.26381
}

Semantic roles & 50–950 ramp

primary
#A474EB
secondary
#E1EFCC
accent
#D70F86
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A474EB

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

Preview Lab → · Contrast checker → · Palette generator →

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