#AA4CEB#AA4CEB

#AA4CEB is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 61.0% C 0.232 H 308.0°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#AA4CEB
RGBrgb(170, 76, 235)
HSLhsl(275, 80%, 61%)
HSVhsv(275, 68%, 92%)
CMYKcmyk(27.7%, 67.7%, 0%, 7.8%)
CIE-LABlab(51.51, 64.47, -64.51)
CIE-LCHlch(51.51, 91.21, 314.98°)
OKLaboklab(61.04% 0.143 -0.1827)
OKLCHoklch(61.04% 0.232 308)
XYZxyz(34.1543, 19.7136, 80.5870)
Luminance0.1971 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4CEB #8DEB4C
analogous
#5A4CEB #AA4CEB #EB4CDC
triadic
#AA4CEB #EBAA4C #4CEBAA
tetradic
#AA4CEB #EB5A4C #8DEB4C #4CDCEB
square
#AA4CEB #EB5A4C #8DEB4C #4CDCEB
split-complementary
#AA4CEB #DCEB4C #4CEB5A
monochromatic
#6C13AA #8F19E1 #AA4CEB #C483F1 #DEBAF7

Accessibility & contrast

On white

4.25
#AA4CEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#AA4CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA4CEB
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4CEB#FFFFFF#000000##000000
##AA4CEB1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F0
Deuteranopia (green-blind)
#277CE8
Tritanopia (blue-blind)
#A06F96
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #aa4ceb;
/* rgb */ color: rgb(170, 76, 235);
/* oklch */ color: oklch(61.0% 0.232 308.0);
Tailwind
colors: {
  custom: {
    50: '#c885f2',
    500: '#aa4ceb',
    950: '#000000',
  },
}
SCSS
$custom: #aa4ceb;
$custom-light: #c885f2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4ceb",
  "rgb": {
    "r": 170,
    "g": 76,
    "b": 235
  },
  "hsl": {
    "h": 275.472,
    "s": 79.899,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61038,
    "c": 0.23201,
    "h": 308
  },
  "luminance": 0.19713
}

Semantic roles & 50–950 ramp

primary
#AA4CEB
secondary
#C4E7AB
accent
#DC0960
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B17
muted
#827C85

Preview Lab

Preview with #AA4CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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