#AA4DFF#AA4DFF

#AA4DFF is a light, highly saturated violet. Relative luminance 0.211; OKLCH L 62.6% C 0.251 H 303.8°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#AA4DFF
RGBrgb(170, 77, 255)
HSLhsl(271, 100%, 65%)
HSVhsv(271, 70%, 100%)
CMYKcmyk(33.3%, 69.8%, 0%, 0%)
CIE-LABlab(53.03, 68.45, -73.22)
CIE-LCHlch(53.03, 100.23, 313.07°)
OKLaboklab(62.55% 0.1393 -0.2083)
OKLCHoklch(62.55% 0.251 303.8)
XYZxyz(37.2773, 21.0739, 96.6922)
Luminance0.2107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4DFF #A2FF4D
analogous
#514DFF #AA4DFF #FF4DFB
triadic
#AA4DFF #FFAA4D #4DFFAA
tetradic
#AA4DFF #FF514D #A2FF4D #4DFBFF
square
#AA4DFF #FF514D #A2FF4D #4DFBFF
split-complementary
#AA4DFF #FBFF4D #4DFF51
monochromatic
#6E00D2 #8D10FF #AA4DFF #C78AFF #E4C7FF

Accessibility & contrast

On white

4.03
#AA4DFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#AA4DFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA4DFF
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4DFF#FFFFFF#000000##000000
##AA4DFF1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#007EFB
Tritanopia (blue-blind)
#9977A1
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #aa4dff;
/* rgb */ color: rgb(170, 77, 255);
/* oklch */ color: oklch(62.6% 0.251 303.8);
Tailwind
colors: {
  custom: {
    50: '#c986ff',
    500: '#aa4dff',
    950: '#000000',
  },
}
SCSS
$custom: #aa4dff;
$custom-light: #c986ff;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4dff",
  "rgb": {
    "r": 170,
    "g": 77,
    "b": 255
  },
  "hsl": {
    "h": 271.348,
    "s": 100,
    "l": 65.098
  },
  "oklch": {
    "l": 0.62551,
    "c": 0.25061,
    "h": 303.8
  },
  "luminance": 0.21074
}

Semantic roles & 50–950 ramp

primary
#AA4DFF
secondary
#D3F2B6
accent
#E6006E
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C18
muted
#837D86

Preview Lab

Preview with #AA4DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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