#AA4CDB#AA4CDB

#AA4CDB is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 60.0% C 0.216 H 311.9°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#AA4CDB
RGBrgb(170, 76, 219)
HSLhsl(279, 67%, 58%)
HSVhsv(279, 65%, 86%)
CMYKcmyk(22.4%, 65.3%, 0%, 14.1%)
CIE-LABlab(50.49, 61.05, -57.12)
CIE-LCHlch(50.49, 83.61, 316.91°)
OKLaboklab(59.98% 0.1443 -0.161)
OKLCHoklch(59.98% 0.216 311.9)
XYZxyz(31.9459, 18.8302, 68.9558)
Luminance0.1883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4CDB #7DDB4C
analogous
#634CDB #AA4CDB #DB4CC4
triadic
#AA4CDB #DBAA4C #4CDBAA
tetradic
#AA4CDB #DB634C #7DDB4C #4CC4DB
square
#AA4CDB #DB634C #7DDB4C #4CC4DB
split-complementary
#AA4CDB #C4DB4C #4CDB63
monochromatic
#681D90 #8D27C3 #AA4CDB #C27FE5 #DAB2EF

Accessibility & contrast

On white

4.41
#AA4CDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#AA4CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA4CDB
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4CDB#FFFFFF#000000##000000
##AA4CDB1.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#3E7AD8
Tritanopia (blue-blind)
#A4698D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #aa4cdb;
/* rgb */ color: rgb(170, 76, 219);
/* oklch */ color: oklch(60.0% 0.216 311.9);
Tailwind
colors: {
  custom: {
    50: '#c784e7',
    500: '#aa4cdb',
    950: '#000000',
  },
}
SCSS
$custom: #aa4cdb;
$custom-light: #c784e7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4cdb",
  "rgb": {
    "r": 170,
    "g": 76,
    "b": 219
  },
  "hsl": {
    "h": 279.441,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.59977,
    "c": 0.21624,
    "h": 311.9
  },
  "luminance": 0.18829
}

Semantic roles & 50–950 ramp

primary
#AA4CDB
secondary
#B8DEA5
accent
#E93E79
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #AA4CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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