#AA4FDB#AA4FDB

#AA4FDB is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.3% C 0.212 H 311.6°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#AA4FDB
RGBrgb(170, 79, 219)
HSLhsl(279, 66%, 58%)
HSVhsv(279, 64%, 86%)
CMYKcmyk(22.4%, 63.9%, 0%, 14.1%)
CIE-LABlab(50.98, 59.69, -56.32)
CIE-LCHlch(50.98, 82.07, 316.66°)
OKLaboklab(60.33% 0.141 -0.1587)
OKLCHoklch(60.33% 0.212 311.6)
XYZxyz(32.1574, 19.2533, 69.0264)
Luminance0.1925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4FDB #80DB4F
analogous
#644FDB #AA4FDB #DB4FC6
triadic
#AA4FDB #DBAA4F #4FDBAA
tetradic
#AA4FDB #DB644F #80DB4F #4FC6DB
square
#AA4FDB #DB644F #80DB4F #4FC6DB
split-complementary
#AA4FDB #C6DB4F #4FDB64
monochromatic
#691E92 #8E28C5 #AA4FDB #C382E5 #DBB5F0

Accessibility & contrast

On white

4.33
#AA4FDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#AA4FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA4FDB
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4FDB#FFFFFF#000000##000000
##AA4FDB1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075DF
Deuteranopia (green-blind)
#417BD8
Tritanopia (blue-blind)
#A46B8E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #aa4fdb;
/* rgb */ color: rgb(170, 79, 219);
/* oklch */ color: oklch(60.3% 0.212 311.6);
Tailwind
colors: {
  custom: {
    50: '#c786e7',
    500: '#aa4fdb',
    950: '#000000',
  },
}
SCSS
$custom: #aa4fdb;
$custom-light: #c786e7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4fdb",
  "rgb": {
    "r": 170,
    "g": 79,
    "b": 219
  },
  "hsl": {
    "h": 279,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.60333,
    "c": 0.21227,
    "h": 311.6
  },
  "luminance": 0.19252
}

Semantic roles & 50–950 ramp

primary
#AA4FDB
secondary
#BBDFA7
accent
#E93F7A
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA4FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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