#AA4EF1#AA4EF1

#AA4EF1 is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.7% C 0.236 H 306.5°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#AA4EF1
RGBrgb(170, 78, 241)
HSLhsl(274, 85%, 63%)
HSVhsv(274, 68%, 95%)
CMYKcmyk(29.5%, 67.6%, 0%, 5.5%)
CIE-LABlab(52.23, 64.90, -66.72)
CIE-LCHlch(52.23, 93.08, 314.21°)
OKLaboklab(61.68% 0.1402 -0.1892)
OKLCHoklch(61.68% 0.236 306.5)
XYZxyz(35.1757, 20.3461, 85.2761)
Luminance0.2035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4EF1 #95F14E
analogous
#594EF1 #AA4EF1 #F14EE6
triadic
#AA4EF1 #F1AA4E #4EF1AA
tetradic
#AA4EF1 #F1594E #95F14E #4EE6F1
square
#AA4EF1 #F1594E #95F14E #4EE6F1
split-complementary
#AA4EF1 #E6F14E #4EF159
monochromatic
#6D0EB6 #8F15ED #AA4EF1 #C587F5 #E0BFFA

Accessibility & contrast

On white

4.14
#AA4EF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#AA4EF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA4EF1
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4EF1#FFFFFF#000000##000000
##AA4EF11.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF6
Deuteranopia (green-blind)
#1E7DED
Tritanopia (blue-blind)
#9E729A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #aa4ef1;
/* rgb */ color: rgb(170, 78, 241);
/* oklch */ color: oklch(61.7% 0.236 306.5);
Tailwind
colors: {
  custom: {
    50: '#c886f7',
    500: '#aa4ef1',
    950: '#000000',
  },
}
SCSS
$custom: #aa4ef1;
$custom-light: #c886f7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4ef1",
  "rgb": {
    "r": 170,
    "g": 78,
    "b": 241
  },
  "hsl": {
    "h": 273.865,
    "s": 85.34,
    "l": 62.549
  },
  "oklch": {
    "l": 0.61675,
    "c": 0.23553,
    "h": 306.5
  },
  "luminance": 0.20346
}

Semantic roles & 50–950 ramp

primary
#AA4EF1
secondary
#CAEBB0
accent
#E20464
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C17
muted
#827D85

Preview Lab

Preview with #AA4EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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