#AA4EDF#AA4EDF

#AA4EDF is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.5% C 0.218 H 310.7°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#AA4EDF
RGBrgb(170, 78, 223)
HSLhsl(278, 69%, 59%)
HSVhsv(278, 65%, 87%)
CMYKcmyk(23.8%, 65%, 0%, 12.5%)
CIE-LABlab(51.06, 61.00, -58.46)
CIE-LCHlch(51.06, 84.49, 316.22°)
OKLaboklab(60.47% 0.1419 -0.165)
OKLCHoklch(60.47% 0.218 310.7)
XYZxyz(32.6187, 19.3233, 71.8092)
Luminance0.1932 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4EDF #83DF4E
analogous
#624EDF #AA4EDF #DF4ECC
triadic
#AA4EDF #DFAA4E #4EDFAA
tetradic
#AA4EDF #DF624E #83DF4E #4ECCDF
square
#AA4EDF #DF624E #83DF4E #4ECCDF
split-complementary
#AA4EDF #CCDF4E #4EDF62
monochromatic
#6A1B97 #8E25CB #AA4EDF #C382E8 #DCB6F2

Accessibility & contrast

On white

4.32
#AA4EDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#AA4EDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA4EDF
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4EDF#FFFFFF#000000##000000
##AA4EDF1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E3
Deuteranopia (green-blind)
#3C7BDC
Tritanopia (blue-blind)
#A36B90
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #aa4edf;
/* rgb */ color: rgb(170, 78, 223);
/* oklch */ color: oklch(60.5% 0.218 310.7);
Tailwind
colors: {
  custom: {
    50: '#c785ea',
    500: '#aa4edf',
    950: '#000000',
  },
}
SCSS
$custom: #aa4edf;
$custom-light: #c785ea;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4edf",
  "rgb": {
    "r": 170,
    "g": 78,
    "b": 223
  },
  "hsl": {
    "h": 278.069,
    "s": 69.378,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60471,
    "c": 0.21758,
    "h": 310.7
  },
  "luminance": 0.19323
}

Semantic roles & 50–950 ramp

primary
#AA4EDF
secondary
#BDE1A8
accent
#EC3C7C
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AA4EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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