#AA4FDD#AA4FDD

#AA4FDD is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.5% C 0.214 H 311.1°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#AA4FDD
RGBrgb(170, 79, 221)
HSLhsl(278, 68%, 59%)
HSVhsv(278, 64%, 87%)
CMYKcmyk(23.1%, 64.3%, 0%, 13.3%)
CIE-LABlab(51.10, 60.11, -57.26)
CIE-LCHlch(51.10, 83.02, 316.39°)
OKLaboklab(60.46% 0.1409 -0.1615)
OKLCHoklch(60.46% 0.214 311.1)
XYZxyz(32.4223, 19.3592, 70.4213)
Luminance0.1936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4FDD #82DD4F
analogous
#634FDD #AA4FDD #DD4FC9
triadic
#AA4FDD #DDAA4F #4FDDAA
tetradic
#AA4FDD #DD634F #82DD4F #4FC9DD
square
#AA4FDD #DD634F #82DD4F #4FC9DD
split-complementary
#AA4FDD #C9DD4F #4FDD63
monochromatic
#6A1D95 #8E27C8 #AA4FDD #C382E7 #DCB6F1

Accessibility & contrast

On white

4.31
#AA4FDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#AA4FDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA4FDD
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4FDD#FFFFFF#000000##000000
##AA4FDD1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E1
Deuteranopia (green-blind)
#3F7BDA
Tritanopia (blue-blind)
#A46B8F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #aa4fdd;
/* rgb */ color: rgb(170, 79, 221);
/* oklch */ color: oklch(60.5% 0.214 311.1);
Tailwind
colors: {
  custom: {
    50: '#c786e8',
    500: '#aa4fdd',
    950: '#000000',
  },
}
SCSS
$custom: #aa4fdd;
$custom-light: #c786e8;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4fdd",
  "rgb": {
    "r": 170,
    "g": 79,
    "b": 221
  },
  "hsl": {
    "h": 278.451,
    "s": 67.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60461,
    "c": 0.21428,
    "h": 311.1
  },
  "luminance": 0.19358
}

Semantic roles & 50–950 ramp

primary
#AA4FDD
secondary
#BCE0A8
accent
#EA3D7C
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA4FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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