#AA6EF2#AA6EF2

#AA6EF2 is a light, vivid violet. Relative luminance 0.261; OKLCH L 66.0% C 0.193 H 302.4°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#AA6EF2
RGBrgb(170, 110, 242)
HSLhsl(267, 84%, 69%)
HSVhsv(267, 55%, 95%)
CMYKcmyk(29.8%, 54.5%, 0%, 5.1%)
CIE-LABlab(58.14, 49.34, -57.77)
CIE-LCHlch(58.14, 75.98, 310.50°)
OKLaboklab(65.99% 0.1035 -0.1631)
OKLCHoklch(65.99% 0.193 302.4)
XYZxyz(38.1769, 26.1087, 87.0154)
Luminance0.2611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6EF2 #B6F26E
analogous
#6E74F2 #AA6EF2 #EC6EF2
triadic
#AA6EF2 #F2AA6E #6EF2AA
tetradic
#AA6EF2 #F26E74 #B6F26E #6EF2EC
square
#AA6EF2 #F26E74 #B6F26E #6EF2EC
split-complementary
#AA6EF2 #F2EC6E #74F26E
monochromatic
#6A13D3 #8936ED #AA6EF2 #CBA6F7 #ECDEFC

Accessibility & contrast

On white

3.38
#AA6EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#AA6EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6EF2
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6EF2#FFFFFF#000000##000000
##AA6EF21.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8BF6
Deuteranopia (green-blind)
#508BEF
Tritanopia (blue-blind)
#9C88A6
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #aa6ef2;
/* rgb */ color: rgb(170, 110, 242);
/* oklch */ color: oklch(66.0% 0.193 302.4);
Tailwind
colors: {
  custom: {
    50: '#c799f7',
    500: '#aa6ef2',
    950: '#000000',
  },
}
SCSS
$custom: #aa6ef2;
$custom-light: #c799f7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6ef2",
  "rgb": {
    "r": 170,
    "g": 110,
    "b": 242
  },
  "hsl": {
    "h": 267.273,
    "s": 83.544,
    "l": 69.02
  },
  "oklch": {
    "l": 0.65988,
    "c": 0.19313,
    "h": 302.4
  },
  "luminance": 0.26109
}

Semantic roles & 50–950 ramp

primary
#AA6EF2
secondary
#E0F1CB
accent
#E0067D
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA6EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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