#AA4EF5#AA4EF5

#AA4EF5 is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 62.0% C 0.240 H 305.7°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#AA4EF5
RGBrgb(170, 78, 245)
HSLhsl(273, 89%, 63%)
HSVhsv(273, 68%, 96%)
CMYKcmyk(30.6%, 68.2%, 0%, 3.9%)
CIE-LABlab(52.50, 65.79, -68.52)
CIE-LCHlch(52.50, 94.99, 313.83°)
OKLaboklab(61.95% 0.1397 -0.1945)
OKLCHoklch(61.95% 0.24 305.7)
XYZxyz(35.7798, 20.5877, 88.4574)
Luminance0.2059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4EF5 #99F54E
analogous
#564EF5 #AA4EF5 #F54EEC
triadic
#AA4EF5 #F5AA4E #4EF5AA
tetradic
#AA4EF5 #F5564E #99F54E #4EECF5
square
#AA4EF5 #F5564E #99F54E #4EECF5
split-complementary
#AA4EF5 #ECF54E #4EF556
monochromatic
#6D0BBE #8E14F2 #AA4EF5 #C688F8 #E2C2FC

Accessibility & contrast

On white

4.10
#AA4EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#AA4EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA4EF5
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4EF5#FFFFFF#000000##000000
##AA4EF51.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFA
Deuteranopia (green-blind)
#107EF1
Tritanopia (blue-blind)
#9D749C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #aa4ef5;
/* rgb */ color: rgb(170, 78, 245);
/* oklch */ color: oklch(62.0% 0.240 305.7);
Tailwind
colors: {
  custom: {
    50: '#c986f9',
    500: '#aa4ef5',
    950: '#000000',
  },
}
SCSS
$custom: #aa4ef5;
$custom-light: #c986f9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4ef5",
  "rgb": {
    "r": 170,
    "g": 78,
    "b": 245
  },
  "hsl": {
    "h": 273.054,
    "s": 89.305,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61952,
    "c": 0.23951,
    "h": 305.7
  },
  "luminance": 0.20587
}

Semantic roles & 50–950 ramp

primary
#AA4EF5
secondary
#CCEDB2
accent
#E60067
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C17
muted
#827D85

Preview Lab

Preview with #AA4EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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