#AA5FDB#AA5FDB

#AA5FDB is a light, vivid violet. Relative luminance 0.218; OKLCH L 62.4% C 0.189 H 309.9°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#AA5FDB
RGBrgb(170, 95, 219)
HSLhsl(276, 63%, 62%)
HSVhsv(276, 57%, 86%)
CMYKcmyk(22.4%, 56.6%, 0%, 14.1%)
CIE-LABlab(53.86, 51.89, -51.71)
CIE-LCHlch(53.86, 73.26, 315.10°)
OKLaboklab(62.43% 0.1216 -0.1453)
OKLCHoklch(62.43% 0.189 309.9)
XYZxyz(33.4535, 21.8456, 69.4584)
Luminance0.2185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5FDB #90DB5F
analogous
#6C5FDB #AA5FDB #DB5FCE
triadic
#AA5FDB #DBAA5F #5FDBAA
tetradic
#AA5FDB #DB6C5F #90DB5F #5FCEDB
square
#AA5FDB #DB6C5F #90DB5F #5FCEDB
split-complementary
#AA5FDB #CEDB5F #5FDB6C
monochromatic
#6D239C #8F2ECE #AA5FDB #C591E6 #DFC3F1

Accessibility & contrast

On white

3.91
#AA5FDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#AA5FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5FDB
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5FDB#FFFFFF#000000##000000
##AA5FDB1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#367DDF
Deuteranopia (green-blind)
#5282D8
Tritanopia (blue-blind)
#A47694
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #aa5fdb;
/* rgb */ color: rgb(170, 95, 219);
/* oklch */ color: oklch(62.4% 0.189 309.9);
Tailwind
colors: {
  custom: {
    50: '#c68fe7',
    500: '#aa5fdb',
    950: '#000000',
  },
}
SCSS
$custom: #aa5fdb;
$custom-light: #c68fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5fdb",
  "rgb": {
    "r": 170,
    "g": 95,
    "b": 219
  },
  "hsl": {
    "h": 276.29,
    "s": 63.265,
    "l": 61.569
  },
  "oklch": {
    "l": 0.62428,
    "c": 0.18947,
    "h": 309.9
  },
  "luminance": 0.21845
}

Semantic roles & 50–950 ramp

primary
#AA5FDB
secondary
#C6E2B4
accent
#CB1A60
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AA5FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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