#AA4EDB#AA4EDB

#AA4EDB is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 60.2% C 0.214 H 311.7°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#AA4EDB
RGBrgb(170, 78, 219)
HSLhsl(279, 66%, 58%)
HSVhsv(279, 64%, 86%)
CMYKcmyk(22.4%, 64.4%, 0%, 14.1%)
CIE-LABlab(50.82, 60.15, -56.59)
CIE-LCHlch(50.82, 82.58, 316.75°)
OKLaboklab(60.21% 0.1421 -0.1595)
OKLCHoklch(60.21% 0.214 311.7)
XYZxyz(32.0858, 19.1101, 69.0025)
Luminance0.1911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4EDB #7FDB4E
analogous
#634EDB #AA4EDB #DB4EC5
triadic
#AA4EDB #DBAA4E #4EDBAA
tetradic
#AA4EDB #DB634E #7FDB4E #4EC5DB
square
#AA4EDB #DB634E #7FDB4E #4EC5DB
split-complementary
#AA4EDB #C5DB4E #4EDB63
monochromatic
#691E91 #8E28C4 #AA4EDB #C281E5 #DBB4F0

Accessibility & contrast

On white

4.36
#AA4EDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#AA4EDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA4EDB
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4EDB#FFFFFF#000000##000000
##AA4EDB1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#407BD8
Tritanopia (blue-blind)
#A46A8E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #aa4edb;
/* rgb */ color: rgb(170, 78, 219);
/* oklch */ color: oklch(60.2% 0.214 311.7);
Tailwind
colors: {
  custom: {
    50: '#c785e7',
    500: '#aa4edb',
    950: '#000000',
  },
}
SCSS
$custom: #aa4edb;
$custom-light: #c785e7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4edb",
  "rgb": {
    "r": 170,
    "g": 78,
    "b": 219
  },
  "hsl": {
    "h": 279.149,
    "s": 66.197,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60213,
    "c": 0.2136,
    "h": 311.7
  },
  "luminance": 0.19109
}

Semantic roles & 50–950 ramp

primary
#AA4EDB
secondary
#BADEA6
accent
#E93F7A
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #AA4EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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