#AA7EF2#AA7EF2

#AA7EF2 is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.5% C 0.169 H 299.4°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#AA7EF2
RGBrgb(170, 126, 242)
HSLhsl(263, 82%, 72%)
HSVhsv(263, 48%, 95%)
CMYKcmyk(29.8%, 47.9%, 0%, 5.1%)
CIE-LABlab(61.55, 40.62, -52.34)
CIE-LCHlch(61.55, 66.25, 307.82°)
OKLaboklab(68.52% 0.083 -0.1472)
OKLCHoklch(68.52% 0.169 299.4)
XYZxyz(40.0616, 29.8783, 87.6437)
Luminance0.2988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7EF2 #C6F27E
analogous
#7E8CF2 #AA7EF2 #E47EF2
triadic
#AA7EF2 #F2AA7E #7EF2AA
tetradic
#AA7EF2 #F27E8C #C6F27E #7EF2E4
square
#AA7EF2 #F27E8C #C6F27E #7EF2E4
split-complementary
#AA7EF2 #F2E47E #8CF27E
monochromatic
#6316DF #8546EC #AA7EF2 #CFB6F8 #EDE3FC

Accessibility & contrast

On white

3.01
#AA7EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#AA7EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7EF2
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7EF2#FFFFFF#000000##000000
##AA7EF21.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5994F6
Deuteranopia (green-blind)
#6394EF
Tritanopia (blue-blind)
#9B93AD
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #aa7ef2;
/* rgb */ color: rgb(170, 126, 242);
/* oklch */ color: oklch(68.5% 0.169 299.4);
Tailwind
colors: {
  custom: {
    50: '#c6a4f7',
    500: '#aa7ef2',
    950: '#000000',
  },
}
SCSS
$custom: #aa7ef2;
$custom-light: #c6a4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7ef2",
  "rgb": {
    "r": 170,
    "g": 126,
    "b": 242
  },
  "hsl": {
    "h": 262.759,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.68518,
    "c": 0.16901,
    "h": 299.4
  },
  "luminance": 0.29879
}

Semantic roles & 50–950 ramp

primary
#AA7EF2
secondary
#E9F4D7
accent
#DE078D
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AA7EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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