#AA4EEB#AA4EEB

#AA4EEB is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 61.3% C 0.230 H 307.9°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#AA4EEB
RGBrgb(170, 78, 235)
HSLhsl(275, 80%, 61%)
HSVhsv(275, 67%, 92%)
CMYKcmyk(27.7%, 66.8%, 0%, 7.8%)
CIE-LABlab(51.83, 63.59, -64.00)
CIE-LCHlch(51.83, 90.22, 314.82°)
OKLaboklab(61.27% 0.1409 -0.1812)
OKLCHoklch(61.27% 0.23 307.9)
XYZxyz(34.2942, 19.9935, 80.6337)
Luminance0.1999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4EEB #8FEB4E
analogous
#5C4EEB #AA4EEB #EB4EDE
triadic
#AA4EEB #EBAA4E #4EEBAA
tetradic
#AA4EEB #EB5C4E #8FEB4E #4EDEEB
square
#AA4EEB #EB5C4E #8FEB4E #4EDEEB
split-complementary
#AA4EEB #DEEB4E #4EEB5C
monochromatic
#6C13AB #8F1AE2 #AA4EEB #C485F1 #DFBCF7

Accessibility & contrast

On white

4.20
#AA4EEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#AA4EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA4EEB
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4EEB#FFFFFF#000000##000000
##AA4EEB1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F0
Deuteranopia (green-blind)
#2B7CE8
Tritanopia (blue-blind)
#A07096
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #aa4eeb;
/* rgb */ color: rgb(170, 78, 235);
/* oklch */ color: oklch(61.3% 0.230 307.9);
Tailwind
colors: {
  custom: {
    50: '#c886f2',
    500: '#aa4eeb',
    950: '#000000',
  },
}
SCSS
$custom: #aa4eeb;
$custom-light: #c886f2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4eeb",
  "rgb": {
    "r": 170,
    "g": 78,
    "b": 235
  },
  "hsl": {
    "h": 275.159,
    "s": 79.695,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61265,
    "c": 0.22955,
    "h": 307.9
  },
  "luminance": 0.19993
}

Semantic roles & 50–950 ramp

primary
#AA4EEB
secondary
#C5E8AD
accent
#DC0961
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AA4EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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