#AA7FF0#AA7FF0

#AA7FF0 is a light, vivid violet. Relative luminance 0.300; OKLCH L 68.6% C 0.165 H 299.6°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#AA7FF0
RGBrgb(170, 127, 240)
HSLhsl(263, 79%, 72%)
HSVhsv(263, 47%, 94%)
CMYKcmyk(29.2%, 47.1%, 0%, 5.9%)
CIE-LABlab(61.67, 39.58, -51.05)
CIE-LCHlch(61.67, 64.59, 307.79°)
OKLaboklab(68.57% 0.0815 -0.1434)
OKLCHoklch(68.57% 0.165 299.6)
XYZxyz(39.8914, 30.0158, 86.1132)
Luminance0.3002 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7FF0 #C5F07F
analogous
#7F8DF0 #AA7FF0 #E37FF0
triadic
#AA7FF0 #F0AA7F #7FF0AA
tetradic
#AA7FF0 #F07F8D #C5F07F #7FF0E3
square
#AA7FF0 #F07F8D #C5F07F #7FF0E3
split-complementary
#AA7FF0 #F0E37F #8DF07F
monochromatic
#631ADB #8648EA #AA7FF0 #CEB6F6 #EDE4FC

Accessibility & contrast

On white

3.00
#AA7FF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#AA7FF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA7FF0
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7FF0#FFFFFF#000000##000000
##AA7FF01.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C95F4
Deuteranopia (green-blind)
#6694ED
Tritanopia (blue-blind)
#9C94AC
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #aa7ff0;
/* rgb */ color: rgb(170, 127, 240);
/* oklch */ color: oklch(68.6% 0.165 299.6);
Tailwind
colors: {
  custom: {
    50: '#c6a5f5',
    500: '#aa7ff0',
    950: '#000000',
  },
}
SCSS
$custom: #aa7ff0;
$custom-light: #c6a5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7ff0",
  "rgb": {
    "r": 170,
    "g": 127,
    "b": 240
  },
  "hsl": {
    "h": 262.832,
    "s": 79.021,
    "l": 71.961
  },
  "oklch": {
    "l": 0.68573,
    "c": 0.16497,
    "h": 299.6
  },
  "luminance": 0.30016
}

Semantic roles & 50–950 ramp

primary
#AA7FF0
secondary
#E9F4D7
accent
#DB0A8C
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#130F17
muted
#827F85

Preview Lab

Preview with #AA7FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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