#AA85FC#AA85FC

#AA85FC is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.2% C 0.171 H 296.0°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#AA85FC
RGBrgb(170, 133, 252)
HSLhsl(259, 95%, 75%)
HSVhsv(259, 47%, 99%)
CMYKcmyk(32.5%, 47.2%, 0%, 1.2%)
CIE-LABlab(63.63, 39.20, -54.54)
CIE-LCHlch(63.63, 67.17, 305.71°)
OKLaboklab(70.24% 0.0751 -0.1536)
OKLCHoklch(70.24% 0.171 296)
XYZxyz(42.5314, 32.3488, 96.0797)
Luminance0.3235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA85FC #D7FC85
analogous
#859CFC #AA85FC #E585FC
triadic
#AA85FC #FCAA85 #85FCAA
tetradic
#AA85FC #FC859C #D7FC85 #85FCE5
square
#AA85FC #FC859C #D7FC85 #85FCE5
split-complementary
#AA85FC #FCE585 #9CFC85
monochromatic
#570EF9 #8049FB #AA85FC #D4C1FD #EAE1FE

Accessibility & contrast

On white

2.81
#AA85FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#AA85FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA85FC
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA85FC#FFFFFF#000000##000000
##AA85FC1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9BFF
Deuteranopia (green-blind)
#6499F9
Tritanopia (blue-blind)
#989CB5
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #aa85fc;
/* rgb */ color: rgb(170, 133, 252);
/* oklch */ color: oklch(70.2% 0.171 296.0);
Tailwind
colors: {
  custom: {
    50: '#c6a9fe',
    500: '#aa85fc',
    950: '#000000',
  },
}
SCSS
$custom: #aa85fc;
$custom-light: #c6a9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#aa85fc",
  "rgb": {
    "r": 170,
    "g": 133,
    "b": 252
  },
  "hsl": {
    "h": 258.655,
    "s": 95.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.70243,
    "c": 0.17099,
    "h": 296
  },
  "luminance": 0.32349
}

Semantic roles & 50–950 ramp

primary
#AA85FC
secondary
#ECF6D5
accent
#E6009E
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #AA85FC

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

Preview Lab → · Contrast checker → · Palette generator →

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