#AA4FE1#AA4FE1

#AA4FE1 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.7% C 0.218 H 310.1°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#AA4FE1
RGBrgb(170, 79, 225)
HSLhsl(277, 71%, 60%)
HSVhsv(277, 65%, 88%)
CMYKcmyk(24.4%, 64.9%, 0%, 11.8%)
CIE-LABlab(51.35, 60.97, -59.13)
CIE-LCHlch(51.35, 84.93, 315.88°)
OKLaboklab(60.72% 0.1406 -0.1669)
OKLCHoklch(60.72% 0.218 310.1)
XYZxyz(32.9615, 19.5749, 73.2615)
Luminance0.1957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4FE1 #86E14F
analogous
#614FE1 #AA4FE1 #E14FCF
triadic
#AA4FE1 #E1AA4F #4FE1AA
tetradic
#AA4FE1 #E1614F #86E14F #4FCFE1
square
#AA4FE1 #E1614F #86E14F #4FCFE1
split-complementary
#AA4FE1 #CFE14F #4FE161
monochromatic
#6B1A9B #8F23CF #AA4FE1 #C383EA #DDB8F3

Accessibility & contrast

On white

4.27
#AA4FE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#AA4FE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA4FE1
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4FE1#FFFFFF#000000##000000
##AA4FE11.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E5
Deuteranopia (green-blind)
#3B7CDE
Tritanopia (blue-blind)
#A36D91
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #aa4fe1;
/* rgb */ color: rgb(170, 79, 225);
/* oklch */ color: oklch(60.7% 0.218 310.1);
Tailwind
colors: {
  custom: {
    50: '#c786eb',
    500: '#aa4fe1',
    950: '#000000',
  },
}
SCSS
$custom: #aa4fe1;
$custom-light: #c786eb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4fe1",
  "rgb": {
    "r": 170,
    "g": 79,
    "b": 225
  },
  "hsl": {
    "h": 277.397,
    "s": 70.874,
    "l": 59.608
  },
  "oklch": {
    "l": 0.60719,
    "c": 0.21827,
    "h": 310.1
  },
  "luminance": 0.19574
}

Semantic roles & 50–950 ramp

primary
#AA4FE1
secondary
#BFE2AA
accent
#EE3A7E
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AA4FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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