#AA8CF2#AA8CF2

#AA8CF2 is a light, vivid violet. Relative luminance 0.337; OKLCH L 70.9% C 0.147 H 296.0°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#AA8CF2
RGBrgb(170, 140, 242)
HSLhsl(258, 80%, 75%)
HSVhsv(258, 42%, 95%)
CMYKcmyk(29.8%, 42.1%, 0%, 5.1%)
CIE-LABlab(64.73, 32.78, -47.30)
CIE-LCHlch(64.73, 57.55, 304.73°)
OKLaboklab(70.91% 0.0646 -0.1325)
OKLCHoklch(70.91% 0.147 296)
XYZxyz(41.9788, 33.7125, 88.2827)
Luminance0.3371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8CF2 #D4F28C
analogous
#8CA1F2 #AA8CF2 #DD8CF2
triadic
#AA8CF2 #F2AA8C #8CF2AA
tetradic
#AA8CF2 #F28CA1 #D4F28C #8CF2DD
square
#AA8CF2 #F28CA1 #D4F28C #8CF2DD
split-complementary
#AA8CF2 #F2DD8C #A1F28C
monochromatic
#591EE6 #8155EC #AA8CF2 #D3C3F8 #EBE4FC

Accessibility & contrast

On white

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

On black

7.74
#AA8CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8CF2
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8CF2#FFFFFF#000000##000000
##AA8CF21.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9EF6
Deuteranopia (green-blind)
#739CEF
Tritanopia (blue-blind)
#9B9EB3
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #aa8cf2;
/* rgb */ color: rgb(170, 140, 242);
/* oklch */ color: oklch(70.9% 0.147 296.0);
Tailwind
colors: {
  custom: {
    50: '#c6aef7',
    500: '#aa8cf2',
    950: '#000000',
  },
}
SCSS
$custom: #aa8cf2;
$custom-light: #c6aef7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8cf2",
  "rgb": {
    "r": 170,
    "g": 140,
    "b": 242
  },
  "hsl": {
    "h": 257.647,
    "s": 79.687,
    "l": 74.902
  },
  "oklch": {
    "l": 0.70911,
    "c": 0.14742,
    "h": 296
  },
  "luminance": 0.33713
}

Semantic roles & 50–950 ramp

primary
#AA8CF2
secondary
#EBF4D7
accent
#DC0A9E
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#131017
muted
#827F85

Preview Lab

Preview with #AA8CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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