#AA4BE1#AA4BE1

#AA4BE1 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 60.3% C 0.223 H 310.5°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#AA4BE1
RGBrgb(170, 75, 225)
HSLhsl(278, 71%, 59%)
HSVhsv(278, 67%, 88%)
CMYKcmyk(24.4%, 66.7%, 0%, 11.8%)
CIE-LABlab(50.70, 62.77, -60.17)
CIE-LCHlch(50.70, 86.95, 316.21°)
OKLaboklab(60.25% 0.145 -0.17)
OKLCHoklch(60.25% 0.223 310.5)
XYZxyz(32.6816, 19.0152, 73.1682)
Luminance0.1901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4BE1 #82E14B
analogous
#5F4BE1 #AA4BE1 #E14BCD
triadic
#AA4BE1 #E1AA4B #4BE1AA
tetradic
#AA4BE1 #E15F4B #82E14B #4BCDE1
square
#AA4BE1 #E15F4B #82E14B #4BCDE1
split-complementary
#AA4BE1 #CDE14B #4BE15F
monochromatic
#6A1998 #8E22CD #AA4BE1 #C37FEA #DCB4F2

Accessibility & contrast

On white

4.37
#AA4BE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#AA4BE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA4BE1
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4BE1#FFFFFF#000000##000000
##AA4BE11.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E5
Deuteranopia (green-blind)
#367ADE
Tritanopia (blue-blind)
#A36A90
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #aa4be1;
/* rgb */ color: rgb(170, 75, 225);
/* oklch */ color: oklch(60.3% 0.223 310.5);
Tailwind
colors: {
  custom: {
    50: '#c884eb',
    500: '#aa4be1',
    950: '#000000',
  },
}
SCSS
$custom: #aa4be1;
$custom-light: #c884eb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4be1",
  "rgb": {
    "r": 170,
    "g": 75,
    "b": 225
  },
  "hsl": {
    "h": 278,
    "s": 71.429,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60254,
    "c": 0.22342,
    "h": 310.5
  },
  "luminance": 0.19014
}

Semantic roles & 50–950 ramp

primary
#AA4BE1
secondary
#BCE1A6
accent
#EE3A7C
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AA4BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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