#AA4EFF#AA4EFF

#AA4EFF is a light, highly saturated violet. Relative luminance 0.212; OKLCH L 62.7% C 0.249 H 303.7°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#AA4EFF
RGBrgb(170, 78, 255)
HSLhsl(271, 100%, 65%)
HSVhsv(271, 69%, 100%)
CMYKcmyk(33.3%, 69.4%, 0%, 0%)
CIE-LABlab(53.18, 68.02, -72.97)
CIE-LCHlch(53.18, 99.76, 312.99°)
OKLaboklab(62.66% 0.1383 -0.2076)
OKLCHoklch(62.66% 0.249 303.7)
XYZxyz(37.3478, 21.2149, 96.7157)
Luminance0.2122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4EFF #A3FF4E
analogous
#514EFF #AA4EFF #FF4EFC
triadic
#AA4EFF #FFAA4E #4EFFAA
tetradic
#AA4EFF #FF514E #A3FF4E #4EFCFF
square
#AA4EFF #FF514E #A3FF4E #4EFCFF
split-complementary
#AA4EFF #FCFF4E #4EFF51
monochromatic
#6D00D3 #8D11FF #AA4EFF #C78BFF #E5C8FF

Accessibility & contrast

On white

4.01
#AA4EFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#AA4EFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA4EFF
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4EFF#FFFFFF#000000##000000
##AA4EFF1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#007FFB
Tritanopia (blue-blind)
#9978A1
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #aa4eff;
/* rgb */ color: rgb(170, 78, 255);
/* oklch */ color: oklch(62.7% 0.249 303.7);
Tailwind
colors: {
  custom: {
    50: '#c986ff',
    500: '#aa4eff',
    950: '#000000',
  },
}
SCSS
$custom: #aa4eff;
$custom-light: #c986ff;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4eff",
  "rgb": {
    "r": 170,
    "g": 78,
    "b": 255
  },
  "hsl": {
    "h": 271.186,
    "s": 100,
    "l": 65.294
  },
  "oklch": {
    "l": 0.6266,
    "c": 0.24947,
    "h": 303.7
  },
  "luminance": 0.21215
}

Semantic roles & 50–950 ramp

primary
#AA4EFF
secondary
#D3F2B7
accent
#E6006E
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C18
muted
#837D86

Preview Lab

Preview with #AA4EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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