#AA85EC#AA85EC

#AA85EC is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.4% C 0.151 H 299.0°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#AA85EC
RGBrgb(170, 133, 236)
HSLhsl(262, 73%, 72%)
HSVhsv(262, 44%, 93%)
CMYKcmyk(28%, 43.6%, 0%, 7.5%)
CIE-LABlab(62.82, 35.25, -47.00)
CIE-LCHlch(62.82, 58.75, 306.87°)
OKLaboklab(69.38% 0.073 -0.1317)
OKLCHoklch(69.38% 0.151 299)
XYZxyz(40.1019, 31.3769, 83.2842)
Luminance0.3138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA85EC #C7EC85
analogous
#8594EC #AA85EC #DD85EC
triadic
#AA85EC #ECAA85 #85ECAA
tetradic
#AA85EC #EC8594 #C7EC85 #85ECDD
square
#AA85EC #EC8594 #C7EC85 #85ECDD
split-complementary
#AA85EC #ECDD85 #94EC85
monochromatic
#6221D5 #8550E4 #AA85EC #CFBAF4 #EDE5FB

Accessibility & contrast

On white

2.89
#AA85EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#AA85EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA85EC
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA85EC#FFFFFF#000000##000000
##AA85EC1.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6798F0
Deuteranopia (green-blind)
#6F97E9
Tritanopia (blue-blind)
#9D97AD
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #aa85ec;
/* rgb */ color: rgb(170, 133, 236);
/* oklch */ color: oklch(69.4% 0.151 299.0);
Tailwind
colors: {
  custom: {
    50: '#c5a9f2',
    500: '#aa85ec',
    950: '#000000',
  },
}
SCSS
$custom: #aa85ec;
$custom-light: #c5a9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa85ec",
  "rgb": {
    "r": 170,
    "g": 133,
    "b": 236
  },
  "hsl": {
    "h": 261.553,
    "s": 73.05,
    "l": 72.353
  },
  "oklch": {
    "l": 0.69376,
    "c": 0.15054,
    "h": 299
  },
  "luminance": 0.31377
}

Semantic roles & 50–950 ramp

primary
#AA85EC
secondary
#E9F3D8
accent
#D5108E
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AA85EC

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

Preview Lab → · Contrast checker → · Palette generator →

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