#AA55EB#AA55EB

#AA55EB is a light, highly saturated violet. Relative luminance 0.210; OKLCH L 62.1% C 0.221 H 307.2°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#AA55EB
RGBrgb(170, 85, 235)
HSLhsl(274, 79%, 63%)
HSVhsv(274, 64%, 92%)
CMYKcmyk(27.7%, 63.8%, 0%, 7.8%)
CIE-LABlab(52.99, 60.37, -62.12)
CIE-LCHlch(52.99, 86.62, 314.18°)
OKLaboklab(62.1% 0.1333 -0.1757)
OKLCHoklch(62.1% 0.221 307.2)
XYZxyz(34.8183, 21.0416, 80.8083)
Luminance0.2104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA55EB #96EB55
analogous
#5F55EB #AA55EB #EB55E1
triadic
#AA55EB #EBAA55 #55EBAA
tetradic
#AA55EB #EB5F55 #96EB55 #55E1EB
square
#AA55EB #EB5F55 #96EB55 #55E1EB
split-complementary
#AA55EB #E1EB55 #55EB5F
monochromatic
#6D15B1 #8F1EE5 #AA55EB #C58CF1 #E1C3F8

Accessibility & contrast

On white

4.03
#AA55EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#AA55EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA55EB
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA55EB#FFFFFF#000000##000000
##AA55EB1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF0
Deuteranopia (green-blind)
#367FE8
Tritanopia (blue-blind)
#A07499
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #aa55eb;
/* rgb */ color: rgb(170, 85, 235);
/* oklch */ color: oklch(62.1% 0.221 307.2);
Tailwind
colors: {
  custom: {
    50: '#c88af2',
    500: '#aa55eb',
    950: '#000000',
  },
}
SCSS
$custom: #aa55eb;
$custom-light: #c88af2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa55eb",
  "rgb": {
    "r": 170,
    "g": 85,
    "b": 235
  },
  "hsl": {
    "h": 274,
    "s": 78.947,
    "l": 62.745
  },
  "oklch": {
    "l": 0.62103,
    "c": 0.22057,
    "h": 307.2
  },
  "luminance": 0.21041
}

Semantic roles & 50–950 ramp

primary
#AA55EB
secondary
#CAE9B3
accent
#DB0A65
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AA55EB

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

Preview Lab → · Contrast checker → · Palette generator →

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