#AA5EDB#AA5EDB

#AA5EDB is a light, vivid violet. Relative luminance 0.217; OKLCH L 62.3% C 0.191 H 310.1°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#AA5EDB
RGBrgb(170, 94, 219)
HSLhsl(276, 63%, 61%)
HSVhsv(276, 57%, 86%)
CMYKcmyk(22.4%, 57.1%, 0%, 14.1%)
CIE-LABlab(53.67, 52.40, -52.02)
CIE-LCHlch(53.67, 73.84, 315.21°)
OKLaboklab(62.29% 0.1229 -0.1462)
OKLCHoklch(62.29% 0.191 310.1)
XYZxyz(33.3640, 21.6666, 69.4286)
Luminance0.2167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5EDB #8FDB5E
analogous
#6C5EDB #AA5EDB #DB5ECE
triadic
#AA5EDB #DBAA5E #5EDBAA
tetradic
#AA5EDB #DB6C5E #8FDB5E #5ECEDB
square
#AA5EDB #DB6C5E #8FDB5E #5ECEDB
split-complementary
#AA5EDB #CEDB5E #5EDB6C
monochromatic
#6C239C #8F2ECE #AA5EDB #C490E6 #DFC2F1

Accessibility & contrast

On white

3.94
#AA5EDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#AA5EDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5EDB
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5EDB#FFFFFF#000000##000000
##AA5EDB1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#347DDF
Deuteranopia (green-blind)
#5182D8
Tritanopia (blue-blind)
#A47594
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #aa5edb;
/* rgb */ color: rgb(170, 94, 219);
/* oklch */ color: oklch(62.3% 0.191 310.1);
Tailwind
colors: {
  custom: {
    50: '#c68fe7',
    500: '#aa5edb',
    950: '#000000',
  },
}
SCSS
$custom: #aa5edb;
$custom-light: #c68fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5edb",
  "rgb": {
    "r": 170,
    "g": 94,
    "b": 219
  },
  "hsl": {
    "h": 276.48,
    "s": 63.452,
    "l": 61.373
  },
  "oklch": {
    "l": 0.62287,
    "c": 0.19097,
    "h": 310.1
  },
  "luminance": 0.21666
}

Semantic roles & 50–950 ramp

primary
#AA5EDB
secondary
#C5E2B3
accent
#CB1A60
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130D16
muted
#827D84

Preview Lab

Preview with #AA5EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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