#AA8BF2#AA8BF2

#AA8BF2 is a light, vivid violet. Relative luminance 0.334; OKLCH L 70.7% C 0.149 H 296.3°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#AA8BF2
RGBrgb(170, 139, 242)
HSLhsl(258, 80%, 75%)
HSVhsv(258, 43%, 95%)
CMYKcmyk(29.8%, 42.6%, 0%, 5.1%)
CIE-LABlab(64.50, 33.35, -47.67)
CIE-LCHlch(64.50, 58.17, 304.98°)
OKLaboklab(70.74% 0.0659 -0.1336)
OKLCHoklch(70.74% 0.149 296.3)
XYZxyz(41.8333, 33.4216, 88.2342)
Luminance0.3342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8BF2 #D3F28B
analogous
#8BA0F2 #AA8BF2 #DD8BF2
triadic
#AA8BF2 #F2AA8B #8BF2AA
tetradic
#AA8BF2 #F28BA0 #D3F28B #8BF2DD
square
#AA8BF2 #F28BA0 #D3F28B #8BF2DD
split-complementary
#AA8BF2 #F2DD8B #A0F28B
monochromatic
#591DE6 #8254EC #AA8BF2 #D2C2F8 #EBE3FC

Accessibility & contrast

On white

2.73
#AA8BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#AA8BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8BF2
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8BF2#FFFFFF#000000##000000
##AA8BF21.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9DF6
Deuteranopia (green-blind)
#729BEF
Tritanopia (blue-blind)
#9B9EB3
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #aa8bf2;
/* rgb */ color: rgb(170, 139, 242);
/* oklch */ color: oklch(70.7% 0.149 296.3);
Tailwind
colors: {
  custom: {
    50: '#c6adf7',
    500: '#aa8bf2',
    950: '#000000',
  },
}
SCSS
$custom: #aa8bf2;
$custom-light: #c6adf7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8bf2",
  "rgb": {
    "r": 170,
    "g": 139,
    "b": 242
  },
  "hsl": {
    "h": 258.058,
    "s": 79.845,
    "l": 74.706
  },
  "oklch": {
    "l": 0.70735,
    "c": 0.14896,
    "h": 296.3
  },
  "luminance": 0.33422
}

Semantic roles & 50–950 ramp

primary
#AA8BF2
secondary
#EBF4D7
accent
#DC099D
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AA8BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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