#AA8CF3#AA8CF3

#AA8CF3 is a light, vivid violet. Relative luminance 0.338; OKLCH L 71.0% C 0.149 H 295.8°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#AA8CF3
RGBrgb(170, 140, 243)
HSLhsl(257, 81%, 75%)
HSVhsv(257, 42%, 95%)
CMYKcmyk(30%, 42.4%, 0%, 4.7%)
CIE-LABlab(64.78, 33.03, -47.77)
CIE-LCHlch(64.78, 58.08, 304.66°)
OKLaboklab(70.96% 0.0647 -0.1339)
OKLCHoklch(70.96% 0.149 295.8)
XYZxyz(42.1293, 33.7727, 89.0758)
Luminance0.3377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8CF3 #D5F38C
analogous
#8CA1F3 #AA8CF3 #DE8CF3
triadic
#AA8CF3 #F3AA8C #8CF3AA
tetradic
#AA8CF3 #F38CA1 #D5F38C #8CF3DE
square
#AA8CF3 #F38CA1 #D5F38C #8CF3DE
split-complementary
#AA8CF3 #F3DE8C #A1F38C
monochromatic
#581DE7 #8155ED #AA8CF3 #D3C3F9 #EBE3FC

Accessibility & contrast

On white

2.71
#AA8CF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#AA8CF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8CF3
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8CF3#FFFFFF#000000##000000
##AA8CF31.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9EF7
Deuteranopia (green-blind)
#729CF0
Tritanopia (blue-blind)
#9A9FB4
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #aa8cf3;
/* rgb */ color: rgb(170, 140, 243);
/* oklch */ color: oklch(71.0% 0.149 295.8);
Tailwind
colors: {
  custom: {
    50: '#c6aef7',
    500: '#aa8cf3',
    950: '#000000',
  },
}
SCSS
$custom: #aa8cf3;
$custom-light: #c6aef7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8cf3",
  "rgb": {
    "r": 170,
    "g": 140,
    "b": 243
  },
  "hsl": {
    "h": 257.476,
    "s": 81.102,
    "l": 75.098
  },
  "oklch": {
    "l": 0.70963,
    "c": 0.14873,
    "h": 295.8
  },
  "luminance": 0.33773
}

Semantic roles & 50–950 ramp

primary
#AA8CF3
secondary
#ECF4D7
accent
#DD089F
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AA8CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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