#AA4FE6#AA4FE6

#AA4FE6 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 61.0% C 0.223 H 308.9°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#AA4FE6
RGBrgb(170, 79, 230)
HSLhsl(276, 75%, 61%)
HSVhsv(276, 66%, 90%)
CMYKcmyk(26.1%, 65.7%, 0%, 9.8%)
CIE-LABlab(51.67, 62.05, -61.44)
CIE-LCHlch(51.67, 87.32, 315.28°)
OKLaboklab(61.05% 0.1403 -0.1737)
OKLCHoklch(61.05% 0.223 308.9)
XYZxyz(33.6536, 19.8518, 76.9065)
Luminance0.1985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4FE6 #8BE64F
analogous
#5E4FE6 #AA4FE6 #E64FD6
triadic
#AA4FE6 #E6AA4F #4FE6AA
tetradic
#AA4FE6 #E65E4F #8BE64F #4FD6E6
square
#AA4FE6 #E65E4F #8BE64F #4FD6E6
split-complementary
#AA4FE6 #D6E64F #4FE65E
monochromatic
#6C17A3 #8F1FD9 #AA4FE6 #C485EE #DEBAF5

Accessibility & contrast

On white

4.23
#AA4FE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#AA4FE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA4FE6
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4FE6#FFFFFF#000000##000000
##AA4FE61.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EB
Deuteranopia (green-blind)
#347CE3
Tritanopia (blue-blind)
#A16F94
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #aa4fe6;
/* rgb */ color: rgb(170, 79, 230);
/* oklch */ color: oklch(61.0% 0.223 308.9);
Tailwind
colors: {
  custom: {
    50: '#c886ef',
    500: '#aa4fe6',
    950: '#000000',
  },
}
SCSS
$custom: #aa4fe6;
$custom-light: #c886ef;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4fe6",
  "rgb": {
    "r": 170,
    "g": 79,
    "b": 230
  },
  "hsl": {
    "h": 276.159,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61047,
    "c": 0.22329,
    "h": 308.9
  },
  "luminance": 0.19851
}

Semantic roles & 50–950 ramp

primary
#AA4FE6
secondary
#C3E5AC
accent
#D70E5E
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AA4FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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