#AA7BF2#AA7BF2

#AA7BF2 is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.0% C 0.174 H 300.1°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#AA7BF2
RGBrgb(170, 123, 242)
HSLhsl(264, 82%, 72%)
HSVhsv(264, 49%, 95%)
CMYKcmyk(29.8%, 49.2%, 0%, 5.1%)
CIE-LABlab(60.89, 42.28, -53.39)
CIE-LCHlch(60.89, 68.10, 308.38°)
OKLaboklab(68.03% 0.0869 -0.1503)
OKLCHoklch(68.03% 0.174 300.1)
XYZxyz(39.6838, 29.1225, 87.5177)
Luminance0.2912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7BF2 #C3F27B
analogous
#7B88F2 #AA7BF2 #E57BF2
triadic
#AA7BF2 #F2AA7B #7BF2AA
tetradic
#AA7BF2 #F27B88 #C3F27B #7BF2E5
square
#AA7BF2 #F27B88 #C3F27B #7BF2E5
split-complementary
#AA7BF2 #F2E57B #88F27B
monochromatic
#6416DD #8643ED #AA7BF2 #CEB3F7 #EDE3FC

Accessibility & contrast

On white

3.08
#AA7BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#AA7BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7BF2
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7BF2#FFFFFF#000000##000000
##AA7BF21.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5493F6
Deuteranopia (green-blind)
#6092EF
Tritanopia (blue-blind)
#9C91AB
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #aa7bf2;
/* rgb */ color: rgb(170, 123, 242);
/* oklch */ color: oklch(68.0% 0.174 300.1);
Tailwind
colors: {
  custom: {
    50: '#c6a2f7',
    500: '#aa7bf2',
    950: '#000000',
  },
}
SCSS
$custom: #aa7bf2;
$custom-light: #c6a2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7bf2",
  "rgb": {
    "r": 170,
    "g": 123,
    "b": 242
  },
  "hsl": {
    "h": 263.697,
    "s": 82.069,
    "l": 71.569
  },
  "oklch": {
    "l": 0.68026,
    "c": 0.1736,
    "h": 300.1
  },
  "luminance": 0.29123
}

Semantic roles & 50–950 ramp

primary
#AA7BF2
secondary
#E8F4D5
accent
#DE0789
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AA7BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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