#AA4FED#AA4FED

#AA4FED is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.5% C 0.230 H 307.3°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#AA4FED
RGBrgb(170, 79, 237)
HSLhsl(275, 81%, 62%)
HSVhsv(275, 67%, 93%)
CMYKcmyk(28.3%, 66.7%, 0%, 7.1%)
CIE-LABlab(52.12, 63.58, -64.65)
CIE-LCHlch(52.12, 90.67, 314.52°)
OKLaboklab(61.52% 0.1396 -0.1832)
OKLCHoklch(61.52% 0.23 307.3)
XYZxyz(34.6564, 20.2529, 82.1878)
Luminance0.2025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4FED #92ED4F
analogous
#5B4FED #AA4FED #ED4FE1
triadic
#AA4FED #EDAA4F #4FEDAA
tetradic
#AA4FED #ED5B4F #92ED4F #4FE1ED
square
#AA4FED #ED5B4F #92ED4F #4FE1ED
split-complementary
#AA4FED #E1ED4F #4FED5B
monochromatic
#6D12B0 #8F18E7 #AA4FED #C587F3 #E0BEF8

Accessibility & contrast

On white

4.16
#AA4FED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#AA4FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA4FED
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4FED#FFFFFF#000000##000000
##AA4FED1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F2
Deuteranopia (green-blind)
#297DEA
Tritanopia (blue-blind)
#9F7198
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #aa4fed;
/* rgb */ color: rgb(170, 79, 237);
/* oklch */ color: oklch(61.5% 0.230 307.3);
Tailwind
colors: {
  custom: {
    50: '#c886f4',
    500: '#aa4fed',
    950: '#000000',
  },
}
SCSS
$custom: #aa4fed;
$custom-light: #c886f4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4fed",
  "rgb": {
    "r": 170,
    "g": 79,
    "b": 237
  },
  "hsl": {
    "h": 274.557,
    "s": 81.443,
    "l": 61.961
  },
  "oklch": {
    "l": 0.61516,
    "c": 0.23031,
    "h": 307.3
  },
  "luminance": 0.20252
}

Semantic roles & 50–950 ramp

primary
#AA4FED
secondary
#C7E9AF
accent
#DE0862
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#140C17
muted
#827D85

Preview Lab

Preview with #AA4FED

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

Preview Lab → · Contrast checker → · Palette generator →

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