#AA74DB#AA74DB

#AA74DB is a light, vivid violet. Relative luminance 0.262; OKLCH L 65.6% C 0.157 H 306.8°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#AA74DB
RGBrgb(170, 116, 219)
HSLhsl(271, 59%, 66%)
HSVhsv(271, 47%, 86%)
CMYKcmyk(22.4%, 47%, 0%, 14.1%)
CIE-LABlab(58.18, 40.70, -44.86)
CIE-LCHlch(58.18, 60.57, 312.21°)
OKLaboklab(65.62% 0.0937 -0.1254)
OKLCHoklch(65.62% 0.157 306.8)
XYZxyz(35.6066, 26.1516, 70.1761)
Luminance0.2615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA74DB #A5DB74
analogous
#7674DB #AA74DB #DB74D9
triadic
#AA74DB #DBAA74 #74DBAA
tetradic
#AA74DB #DB7674 #A5DB74 #74D9DB
square
#AA74DB #DB7674 #A5DB74 #74D9DB
split-complementary
#AA74DB #D9DB74 #74DB76
monochromatic
#6D2CA9 #8C43CE #AA74DB #C8A5E8 #E5D5F4

Accessibility & contrast

On white

3.37
#AA74DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#AA74DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA74DB
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA74DB#FFFFFF#000000##000000
##AA74DB1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#598ADF
Deuteranopia (green-blind)
#678CD8
Tritanopia (blue-blind)
#A3859D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #aa74db;
/* rgb */ color: rgb(170, 116, 219);
/* oklch */ color: oklch(65.6% 0.157 306.8);
Tailwind
colors: {
  custom: {
    50: '#c59de6',
    500: '#aa74db',
    950: '#000000',
  },
}
SCSS
$custom: #aa74db;
$custom-light: #c59de6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa74db",
  "rgb": {
    "r": 170,
    "g": 116,
    "b": 219
  },
  "hsl": {
    "h": 271.456,
    "s": 58.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.65621,
    "c": 0.15655,
    "h": 306.8
  },
  "luminance": 0.26151
}

Semantic roles & 50–950 ramp

primary
#AA74DB
secondary
#D5E7C4
accent
#C61F6F
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AA74DB

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

Preview Lab → · Contrast checker → · Palette generator →

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