#AA79DB#AA79DB

#AA79DB is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.4% C 0.148 H 305.8°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#AA79DB
RGBrgb(170, 121, 219)
HSLhsl(270, 58%, 67%)
HSVhsv(270, 45%, 86%)
CMYKcmyk(22.4%, 44.7%, 0%, 14.1%)
CIE-LABlab(59.28, 37.93, -43.12)
CIE-LCHlch(59.28, 57.43, 311.33°)
OKLaboklab(66.45% 0.0868 -0.1203)
OKLCHoklch(66.45% 0.148 305.8)
XYZxyz(36.1985, 27.3355, 70.3734)
Luminance0.2733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA79DB #AADB79
analogous
#7979DB #AA79DB #DB79DB
triadic
#AA79DB #DBAA79 #79DBAA
tetradic
#AA79DB #DB7979 #AADB79 #79DBDB
square
#AA79DB #DB7979 #AADB79 #79DBDB
split-complementary
#AA79DB #DBDB79 #79DB79
monochromatic
#6D2EAC #8B49CE #AA79DB #C9A9E8 #E7D9F5

Accessibility & contrast

On white

3.25
#AA79DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#AA79DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA79DB
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA79DB#FFFFFF#000000##000000
##AA79DB1.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#608DDF
Deuteranopia (green-blind)
#6C8FD8
Tritanopia (blue-blind)
#A289A0
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #aa79db;
/* rgb */ color: rgb(170, 121, 219);
/* oklch */ color: oklch(66.4% 0.148 305.8);
Tailwind
colors: {
  custom: {
    50: '#c5a0e6',
    500: '#aa79db',
    950: '#000000',
  },
}
SCSS
$custom: #aa79db;
$custom-light: #c5a0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa79db",
  "rgb": {
    "r": 170,
    "g": 121,
    "b": 219
  },
  "hsl": {
    "h": 270,
    "s": 57.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.66446,
    "c": 0.1484,
    "h": 305.8
  },
  "luminance": 0.27335
}

Semantic roles & 50–950 ramp

primary
#AA79DB
secondary
#D8E8C8
accent
#C52073
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130F16
muted
#827E84

Preview Lab

Preview with #AA79DB

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

Preview Lab → · Contrast checker → · Palette generator →

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