#AA9CF2#AA9CF2

#AA9CF2 is a light, vivid blue. Relative luminance 0.387; OKLCH L 73.8% C 0.123 H 290.5°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#AA9CF2
RGBrgb(170, 156, 242)
HSLhsl(250, 77%, 78%)
HSVhsv(250, 36%, 95%)
CMYKcmyk(29.8%, 35.5%, 0%, 5.1%)
CIE-LABlab(68.56, 23.75, -41.29)
CIE-LCHlch(68.56, 47.63, 299.90°)
OKLaboklab(73.82% 0.0431 -0.1151)
OKLCHoklch(73.82% 0.123 290.5)
XYZxyz(44.4890, 38.7329, 89.1194)
Luminance0.3873 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9CF2 #E4F29C
analogous
#9CB9F2 #AA9CF2 #D59CF2
triadic
#AA9CF2 #F2AA9C #9CF2AA
tetradic
#AA9CF2 #F29CB9 #E4F29C #9CF2D5
square
#AA9CF2 #F29CB9 #E4F29C #9CF2D5
split-complementary
#AA9CF2 #F2D59C #B9F29C
monochromatic
#4D30E4 #7C66EB #AA9CF2 #D8D2F9 #E8E4FB

Accessibility & contrast

On white

2.40
#AA9CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#AA9CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9CF2
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9CF2#FFFFFF#000000##000000
##AA9CF21.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A9F5
Deuteranopia (green-blind)
#84A5F0
Tritanopia (blue-blind)
#99ABBC
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #aa9cf2;
/* rgb */ color: rgb(170, 156, 242);
/* oklch */ color: oklch(73.8% 0.123 290.5);
Tailwind
colors: {
  custom: {
    50: '#c5b9f6',
    500: '#aa9cf2',
    950: '#000000',
  },
}
SCSS
$custom: #aa9cf2;
$custom-light: #c5b9f6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9cf2",
  "rgb": {
    "r": 170,
    "g": 156,
    "b": 242
  },
  "hsl": {
    "h": 249.767,
    "s": 76.786,
    "l": 78.039
  },
  "oklch": {
    "l": 0.73818,
    "c": 0.12295,
    "h": 290.5
  },
  "luminance": 0.38734
}

Semantic roles & 50–950 ramp

primary
#AA9CF2
secondary
#EFF3D8
accent
#D90CB8
background
#FCFBFF
surface
#F8F6FE
border
#D1D0D6
text
#131117
muted
#828085

Preview Lab

Preview with #AA9CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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