#AA4FF2#AA4FF2

#AA4FF2 is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.9% C 0.235 H 306.2°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#AA4FF2
RGBrgb(170, 79, 242)
HSLhsl(273, 86%, 63%)
HSVhsv(273, 67%, 95%)
CMYKcmyk(29.8%, 67.4%, 0%, 5.1%)
CIE-LABlab(52.45, 64.68, -66.92)
CIE-LCHlch(52.45, 93.06, 314.03°)
OKLaboklab(61.86% 0.1391 -0.1898)
OKLCHoklch(61.86% 0.235 306.2)
XYZxyz(35.3971, 20.5492, 86.0888)
Luminance0.2055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4FF2 #97F24F
analogous
#584FF2 #AA4FF2 #F24FE8
triadic
#AA4FF2 #F2AA4F #4FF2AA
tetradic
#AA4FF2 #F2584F #97F24F #4FE8F2
square
#AA4FF2 #F2584F #97F24F #4FE8F2
split-complementary
#AA4FF2 #E8F24F #4FF258
monochromatic
#6D0EB9 #8E16EE #AA4FF2 #C688F6 #E1C1FA

Accessibility & contrast

On white

4.11
#AA4FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#AA4FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA4FF2
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4FF2#FFFFFF#000000##000000
##AA4FF21.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF7
Deuteranopia (green-blind)
#1D7EEE
Tritanopia (blue-blind)
#9E739B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #aa4ff2;
/* rgb */ color: rgb(170, 79, 242);
/* oklch */ color: oklch(61.9% 0.235 306.2);
Tailwind
colors: {
  custom: {
    50: '#c887f7',
    500: '#aa4ff2',
    950: '#000000',
  },
}
SCSS
$custom: #aa4ff2;
$custom-light: #c887f7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4ff2",
  "rgb": {
    "r": 170,
    "g": 79,
    "b": 242
  },
  "hsl": {
    "h": 273.497,
    "s": 86.243,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61858,
    "c": 0.23532,
    "h": 306.2
  },
  "luminance": 0.20549
}

Semantic roles & 50–950 ramp

primary
#AA4FF2
secondary
#CBECB1
accent
#E30366
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C17
muted
#827D85

Preview Lab

Preview with #AA4FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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