#AA4FE3#AA4FE3

#AA4FE3 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.9% C 0.220 H 309.6°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#AA4FE3
RGBrgb(170, 79, 227)
HSLhsl(277, 73%, 60%)
HSVhsv(277, 65%, 89%)
CMYKcmyk(25.1%, 65.2%, 0%, 11%)
CIE-LABlab(51.48, 61.40, -60.06)
CIE-LCHlch(51.48, 85.89, 315.63°)
OKLaboklab(60.85% 0.1405 -0.1697)
OKLCHoklch(60.85% 0.22 309.6)
XYZxyz(33.2360, 19.6847, 74.7068)
Luminance0.1968 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4FE3 #88E34F
analogous
#604FE3 #AA4FE3 #E34FD2
triadic
#AA4FE3 #E3AA4F #4FE3AA
tetradic
#AA4FE3 #E3604F #88E34F #4FD2E3
square
#AA4FE3 #E3604F #88E34F #4FD2E3
split-complementary
#AA4FE3 #D2E34F #4FE360
monochromatic
#6B199E #8F22D3 #AA4FE3 #C484EB #DDB9F4

Accessibility & contrast

On white

4.25
#AA4FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#AA4FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA4FE3
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4FE3#FFFFFF#000000##000000
##AA4FE31.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E7
Deuteranopia (green-blind)
#387CE0
Tritanopia (blue-blind)
#A26E92
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #aa4fe3;
/* rgb */ color: rgb(170, 79, 227);
/* oklch */ color: oklch(60.9% 0.220 309.6);
Tailwind
colors: {
  custom: {
    50: '#c786ed',
    500: '#aa4fe3',
    950: '#000000',
  },
}
SCSS
$custom: #aa4fe3;
$custom-light: #c786ed;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4fe3",
  "rgb": {
    "r": 170,
    "g": 79,
    "b": 227
  },
  "hsl": {
    "h": 276.892,
    "s": 72.549,
    "l": 60
  },
  "oklch": {
    "l": 0.6085,
    "c": 0.22028,
    "h": 309.6
  },
  "luminance": 0.19684
}

Semantic roles & 50–950 ramp

primary
#AA4FE3
secondary
#C0E3AA
accent
#EF397F
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AA4FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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