#AA7BFC#AA7BFC

#AA7BFC is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.6% C 0.186 H 298.2°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#AA7BFC
RGBrgb(170, 123, 252)
HSLhsl(262, 96%, 74%)
HSVhsv(262, 51%, 99%)
CMYKcmyk(32.5%, 51.2%, 0%, 1.2%)
CIE-LABlab(61.43, 44.74, -58.04)
CIE-LCHlch(61.43, 73.29, 307.63°)
OKLaboklab(68.6% 0.0877 -0.1639)
OKLCHoklch(68.6% 0.186 298.2)
XYZxyz(41.2269, 29.7398, 95.6449)
Luminance0.2974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7BFC #CDFC7B
analogous
#7B8CFC #AA7BFC #EA7BFC
triadic
#AA7BFC #FCAA7B #7BFCAA
tetradic
#AA7BFC #FC7B8C #CDFC7B #7BFCEA
square
#AA7BFC #FC7B8C #CDFC7B #7BFCEA
split-complementary
#AA7BFC #FCEA7B #8CFC7B
monochromatic
#5E06F7 #833FFB #AA7BFC #D1B7FD #ECE1FE

Accessibility & contrast

On white

3.02
#AA7BFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#AA7BFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7BFC
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7BFC#FFFFFF#000000##000000
##AA7BFC1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B95FF
Deuteranopia (green-blind)
#5793F9
Tritanopia (blue-blind)
#9894B0
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #aa7bfc;
/* rgb */ color: rgb(170, 123, 252);
/* oklch */ color: oklch(68.6% 0.186 298.2);
Tailwind
colors: {
  custom: {
    50: '#c7a2fe',
    500: '#aa7bfc',
    950: '#000000',
  },
}
SCSS
$custom: #aa7bfc;
$custom-light: #c7a2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7bfc",
  "rgb": {
    "r": 170,
    "g": 123,
    "b": 252
  },
  "hsl": {
    "h": 261.86,
    "s": 95.556,
    "l": 73.529
  },
  "oklch": {
    "l": 0.68602,
    "c": 0.1859,
    "h": 298.2
  },
  "luminance": 0.2974
}

Semantic roles & 50–950 ramp

primary
#AA7BFC
secondary
#EAF7D4
accent
#E60092
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #AA7BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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