#AA4FD8#AA4FD8

#AA4FD8 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 60.1% C 0.209 H 312.4°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#AA4FD8
RGBrgb(170, 79, 216)
HSLhsl(280, 64%, 58%)
HSVhsv(280, 63%, 85%)
CMYKcmyk(21.3%, 63.4%, 0%, 15.3%)
CIE-LABlab(50.80, 59.05, -54.91)
CIE-LCHlch(50.80, 80.64, 317.08°)
OKLaboklab(60.14% 0.1411 -0.1546)
OKLCHoklch(60.14% 0.209 312.4)
XYZxyz(31.7660, 19.0967, 66.9651)
Luminance0.1910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4FD8 #7DD84F
analogous
#654FD8 #AA4FD8 #D84FC1
triadic
#AA4FD8 #D8AA4F #4FD8AA
tetradic
#AA4FD8 #D8654F #7DD84F #4FC1D8
square
#AA4FD8 #D8654F #7DD84F #4FC1D8
split-complementary
#AA4FD8 #C1D84F #4FD865
monochromatic
#681F8D #8D2ABF #AA4FD8 #C281E3 #DAB3EE

Accessibility & contrast

On white

4.36
#AA4FD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#AA4FD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA4FD8
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4FD8#FFFFFF#000000##000000
##AA4FD81.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0974DC
Deuteranopia (green-blind)
#447BD5
Tritanopia (blue-blind)
#A5698D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #aa4fd8;
/* rgb */ color: rgb(170, 79, 216);
/* oklch */ color: oklch(60.1% 0.209 312.4);
Tailwind
colors: {
  custom: {
    50: '#c786e5',
    500: '#aa4fd8',
    950: '#000000',
  },
}
SCSS
$custom: #aa4fd8;
$custom-light: #c786e5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4fd8",
  "rgb": {
    "r": 170,
    "g": 79,
    "b": 216
  },
  "hsl": {
    "h": 279.854,
    "s": 63.721,
    "l": 57.843
  },
  "oklch": {
    "l": 0.60144,
    "c": 0.20927,
    "h": 312.4
  },
  "luminance": 0.19096
}

Semantic roles & 50–950 ramp

primary
#AA4FD8
secondary
#B8DDA6
accent
#E74179
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #AA4FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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