#AA7BED#AA7BED

#AA7BED is a light, vivid violet. Relative luminance 0.288; OKLCH L 67.7% C 0.167 H 301.1°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#AA7BED
RGBrgb(170, 123, 237)
HSLhsl(265, 76%, 71%)
HSVhsv(265, 48%, 93%)
CMYKcmyk(28.3%, 48.1%, 0%, 7.1%)
CIE-LABlab(60.63, 41.07, -51.03)
CIE-LCHlch(60.63, 65.51, 308.83°)
OKLaboklab(67.75% 0.0864 -0.1434)
OKLCHoklch(67.75% 0.167 301.1)
XYZxyz(38.9431, 28.8263, 83.6167)
Luminance0.2883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7BED #BEED7B
analogous
#7B85ED #AA7BED #E37BED
triadic
#AA7BED #EDAA7B #7BEDAA
tetradic
#AA7BED #ED7B85 #BEED7B #7BEDE3
square
#AA7BED #ED7B85 #BEED7B #7BEDE3
split-complementary
#AA7BED #EDE37B #85ED7B
monochromatic
#671DD1 #8745E6 #AA7BED #CDB1F4 #EEE4FB

Accessibility & contrast

On white

3.10
#AA7BED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#AA7BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7BED
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7BED#FFFFFF#000000##000000
##AA7BED1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5792F1
Deuteranopia (green-blind)
#6392EA
Tritanopia (blue-blind)
#9D90A9
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #aa7bed;
/* rgb */ color: rgb(170, 123, 237);
/* oklch */ color: oklch(67.7% 0.167 301.1);
Tailwind
colors: {
  custom: {
    50: '#c6a2f3',
    500: '#aa7bed',
    950: '#000000',
  },
}
SCSS
$custom: #aa7bed;
$custom-light: #c6a2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7bed",
  "rgb": {
    "r": 170,
    "g": 123,
    "b": 237
  },
  "hsl": {
    "h": 264.737,
    "s": 76,
    "l": 70.588
  },
  "oklch": {
    "l": 0.67746,
    "c": 0.16743,
    "h": 301.1
  },
  "luminance": 0.28826
}

Semantic roles & 50–950 ramp

primary
#AA7BED
secondary
#E5F1D2
accent
#D80D85
background
#FCFAFE
surface
#F8F3FD
border
#D1CDD5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AA7BED

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

Preview Lab → · Contrast checker → · Palette generator →

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