#AA7EFB#AA7EFB

#AA7EFB is a light, vivid violet. Relative luminance 0.304; OKLCH L 69.0% C 0.180 H 297.7°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#AA7EFB
RGBrgb(170, 126, 251)
HSLhsl(261, 94%, 74%)
HSVhsv(261, 50%, 98%)
CMYKcmyk(32.3%, 49.8%, 0%, 1.6%)
CIE-LABlab(62.03, 42.84, -56.54)
CIE-LCHlch(62.03, 70.94, 307.15°)
OKLaboklab(69.03% 0.0839 -0.1595)
OKLCHoklch(69.03% 0.18 297.7)
XYZxyz(41.4467, 30.4323, 94.9385)
Luminance0.3043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7EFB #CFFB7E
analogous
#7E91FB #AA7EFB #E97EFB
triadic
#AA7EFB #FBAA7E #7EFBAA
tetradic
#AA7EFB #FB7E91 #CFFB7E #7EFBE9
square
#AA7EFB #FB7E91 #CFFB7E #7EFBE9
split-complementary
#AA7EFB #FBE97E #91FB7E
monochromatic
#5C08F7 #8343F9 #AA7EFB #D1B9FD #EBE1FE

Accessibility & contrast

On white

2.96
#AA7EFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#AA7EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA7EFB
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7EFB#FFFFFF#000000##000000
##AA7EFB1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5196FF
Deuteranopia (green-blind)
#5C95F8
Tritanopia (blue-blind)
#9896B1
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #aa7efb;
/* rgb */ color: rgb(170, 126, 251);
/* oklch */ color: oklch(69.0% 0.180 297.7);
Tailwind
colors: {
  custom: {
    50: '#c7a4fd',
    500: '#aa7efb',
    950: '#000000',
  },
}
SCSS
$custom: #aa7efb;
$custom-light: #c7a4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7efb",
  "rgb": {
    "r": 170,
    "g": 126,
    "b": 251
  },
  "hsl": {
    "h": 261.12,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.69027,
    "c": 0.18021,
    "h": 297.7
  },
  "luminance": 0.30433
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA7EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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