#AA7BFA#AA7BFA

#AA7BFA is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.5% C 0.183 H 298.5°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#AA7BFA
RGBrgb(170, 123, 250)
HSLhsl(262, 93%, 73%)
HSVhsv(262, 51%, 98%)
CMYKcmyk(32%, 50.8%, 0%, 2%)
CIE-LABlab(61.32, 44.25, -57.12)
CIE-LCHlch(61.32, 72.25, 307.76°)
OKLaboklab(68.49% 0.0876 -0.1612)
OKLCHoklch(68.49% 0.183 298.5)
XYZxyz(40.9117, 29.6137, 93.9845)
Luminance0.2961 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7BFA #CBFA7B
analogous
#7B8BFA #AA7BFA #EA7BFA
triadic
#AA7BFA #FAAA7B #7BFAAA
tetradic
#AA7BFA #FA7B8B #CBFA7B #7BFAEA
square
#AA7BFA #FA7B8B #CBFA7B #7BFAEA
split-complementary
#AA7BFA #FAEA7B #8BFA7B
monochromatic
#5F09F1 #8440F8 #AA7BFA #D0B6FC #ECE2FE

Accessibility & contrast

On white

3.03
#AA7BFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#AA7BFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7BFA
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7BFA#FFFFFF#000000##000000
##AA7BFA1.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D94FE
Deuteranopia (green-blind)
#5993F7
Tritanopia (blue-blind)
#9993AF
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #aa7bfa;
/* rgb */ color: rgb(170, 123, 250);
/* oklch */ color: oklch(68.5% 0.183 298.5);
Tailwind
colors: {
  custom: {
    50: '#c7a2fc',
    500: '#aa7bfa',
    950: '#000000',
  },
}
SCSS
$custom: #aa7bfa;
$custom-light: #c7a2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7bfa",
  "rgb": {
    "r": 170,
    "g": 123,
    "b": 250
  },
  "hsl": {
    "h": 262.205,
    "s": 92.701,
    "l": 73.137
  },
  "oklch": {
    "l": 0.68485,
    "c": 0.18345,
    "h": 298.5
  },
  "luminance": 0.29614
}

Semantic roles & 50–950 ramp

primary
#AA7BFA
secondary
#EAF6D5
accent
#E60091
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #AA7BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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