#AA6CF2#AA6CF2

#AA6CF2 is a light, vivid violet. Relative luminance 0.257; OKLCH L 65.7% C 0.196 H 302.7°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#AA6CF2
RGBrgb(170, 108, 242)
HSLhsl(268, 84%, 69%)
HSVhsv(268, 55%, 95%)
CMYKcmyk(29.8%, 55.4%, 0%, 5.1%)
CIE-LABlab(57.73, 50.41, -58.42)
CIE-LCHlch(57.73, 77.16, 310.79°)
OKLaboklab(65.69% 0.106 -0.165)
OKLCHoklch(65.69% 0.196 302.7)
XYZxyz(37.9635, 25.6820, 86.9443)
Luminance0.2568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6CF2 #B4F26C
analogous
#6C71F2 #AA6CF2 #ED6CF2
triadic
#AA6CF2 #F2AA6C #6CF2AA
tetradic
#AA6CF2 #F26C71 #B4F26C #6CF2ED
square
#AA6CF2 #F26C71 #B4F26C #6CF2ED
split-complementary
#AA6CF2 #F2ED6C #71F26C
monochromatic
#6B12D1 #8934ED #AA6CF2 #CBA4F7 #EBDCFC

Accessibility & contrast

On white

3.42
#AA6CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#AA6CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6CF2
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6CF2#FFFFFF#000000##000000
##AA6CF21.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3689F6
Deuteranopia (green-blind)
#4D8AEF
Tritanopia (blue-blind)
#9C86A5
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #aa6cf2;
/* rgb */ color: rgb(170, 108, 242);
/* oklch */ color: oklch(65.7% 0.196 302.7);
Tailwind
colors: {
  custom: {
    50: '#c798f7',
    500: '#aa6cf2',
    950: '#000000',
  },
}
SCSS
$custom: #aa6cf2;
$custom-light: #c798f7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6cf2",
  "rgb": {
    "r": 170,
    "g": 108,
    "b": 242
  },
  "hsl": {
    "h": 267.761,
    "s": 83.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.6569,
    "c": 0.19606,
    "h": 302.7
  },
  "luminance": 0.25682
}

Semantic roles & 50–950 ramp

primary
#AA6CF2
secondary
#DEF1C9
accent
#E0057B
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA6CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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