#A474DB#A474DB

#A474DB is a light, vivid violet. Relative luminance 0.255; OKLCH L 65.0% C 0.155 H 303.9°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#A474DB
RGBrgb(164, 116, 219)
HSLhsl(268, 59%, 66%)
HSVhsv(268, 47%, 86%)
CMYKcmyk(25.1%, 47%, 0%, 14.1%)
CIE-LABlab(57.56, 39.05, -45.89)
CIE-LCHlch(57.56, 60.26, 310.40°)
OKLaboklab(65.01% 0.0864 -0.1285)
OKLCHoklch(65.01% 0.155 303.9)
XYZxyz(34.3387, 25.4979, 70.1166)
Luminance0.2550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A474DB #ABDB74
analogous
#7477DB #A474DB #D774DB
triadic
#A474DB #DBA474 #74DBA4
tetradic
#A474DB #DB7477 #ABDB74 #74DBD7
square
#A474DB #DB7477 #ABDB74 #74DBD7
split-complementary
#A474DB #DBD774 #77DB74
monochromatic
#662CA9 #8443CE #A474DB #C4A5E8 #E4D5F4

Accessibility & contrast

On white

3.44
#A474DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#A474DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A474DB
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A474DB#FFFFFF#000000##000000
##A474DB1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5789DF
Deuteranopia (green-blind)
#638AD8
Tritanopia (blue-blind)
#9B869D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a474db;
/* rgb */ color: rgb(164, 116, 219);
/* oklch */ color: oklch(65.0% 0.155 303.9);
Tailwind
colors: {
  custom: {
    50: '#c19de6',
    500: '#a474db',
    950: '#000000',
  },
}
SCSS
$custom: #a474db;
$custom-light: #c19de6;
$custom-dark: #000000;
JSON
{
  "hex": "#a474db",
  "rgb": {
    "r": 164,
    "g": 116,
    "b": 219
  },
  "hsl": {
    "h": 267.961,
    "s": 58.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.65013,
    "c": 0.15488,
    "h": 303.9
  },
  "luminance": 0.25498
}

Semantic roles & 50–950 ramp

primary
#A474DB
secondary
#D7E7C4
accent
#C61F78
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A474DB

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

Preview Lab → · Contrast checker → · Palette generator →

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