#AA54DE#AA54DE

#AA54DE is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.1% C 0.209 H 310.4°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#AA54DE
RGBrgb(170, 84, 222)
HSLhsl(277, 68%, 60%)
HSVhsv(277, 62%, 87%)
CMYKcmyk(23.4%, 62.2%, 0%, 12.9%)
CIE-LABlab(52.02, 57.99, -56.36)
CIE-LCHlch(52.02, 80.87, 315.82°)
OKLaboklab(61.14% 0.1351 -0.1588)
OKLCHoklch(61.14% 0.209 310.4)
XYZxyz(32.9302, 20.1613, 71.2499)
Luminance0.2016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA54DE #88DE54
analogous
#6554DE #AA54DE #DE54CD
triadic
#AA54DE #DEAA54 #54DEAA
tetradic
#AA54DE #DE6554 #88DE54 #54CDDE
square
#AA54DE #DE6554 #88DE54 #54CDDE
split-complementary
#AA54DE #CDDE54 #54DE65
monochromatic
#6B1E9A #8F28CD #AA54DE #C387E8 #DDBBF2

Accessibility & contrast

On white

4.17
#AA54DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#AA54DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA54DE
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA54DE#FFFFFF#000000##000000
##AA54DE1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F78E2
Deuteranopia (green-blind)
#447DDB
Tritanopia (blue-blind)
#A36F91
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #aa54de;
/* rgb */ color: rgb(170, 84, 222);
/* oklch */ color: oklch(61.1% 0.209 310.4);
Tailwind
colors: {
  custom: {
    50: '#c789e9',
    500: '#aa54de',
    950: '#000000',
  },
}
SCSS
$custom: #aa54de;
$custom-light: #c789e9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa54de",
  "rgb": {
    "r": 170,
    "g": 84,
    "b": 222
  },
  "hsl": {
    "h": 277.391,
    "s": 67.647,
    "l": 60
  },
  "oklch": {
    "l": 0.61141,
    "c": 0.20851,
    "h": 310.4
  },
  "luminance": 0.20161
}

Semantic roles & 50–950 ramp

primary
#AA54DE
secondary
#C0E1AC
accent
#EB3D7F
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA54DE

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

Preview Lab → · Contrast checker → · Palette generator →

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