#AA8FCA#AA8FCA

#AA8FCA is a light, moderate violet. Relative luminance 0.325; OKLCH L 69.6% C 0.090 H 305.1°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#AA8FCA
RGBrgb(170, 143, 202)
HSLhsl(267, 36%, 68%)
HSVhsv(267, 29%, 79%)
CMYKcmyk(15.8%, 29.2%, 0%, 20.8%)
CIE-LABlab(63.72, 21.67, -26.69)
CIE-LCHlch(63.72, 34.37, 309.07°)
OKLaboklab(69.57% 0.0515 -0.0732)
OKLCHoklch(69.57% 0.09 305.1)
XYZxyz(37.0586, 32.4554, 60.1779)
Luminance0.3246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8FCA #AFCA8F
analogous
#8F91CA #AA8FCA #C88FCA
triadic
#AA8FCA #CAAA8F #8FCAAA
tetradic
#AA8FCA #CA8F91 #AFCA8F #8FCAC8
square
#AA8FCA #CA8F91 #AFCA8F #8FCAC8
split-complementary
#AA8FCA #CAC88F #91CA8F
monochromatic
#6C4897 #8A65B6 #AA8FCA #CAB9DE #E9E2F1

Accessibility & contrast

On white

2.80
#AA8FCA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#AA8FCA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8FCA
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8FCA#FFFFFF#000000##000000
##AA8FCA1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8499CC
Deuteranopia (green-blind)
#899AC8
Tritanopia (blue-blind)
#A597A4
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #aa8fca;
/* rgb */ color: rgb(170, 143, 202);
/* oklch */ color: oklch(69.6% 0.090 305.1);
Tailwind
colors: {
  custom: {
    50: '#c4b0da',
    500: '#aa8fca',
    950: '#000000',
  },
}
SCSS
$custom: #aa8fca;
$custom-light: #c4b0da;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8fca",
  "rgb": {
    "r": 170,
    "g": 143,
    "b": 202
  },
  "hsl": {
    "h": 267.458,
    "s": 35.758,
    "l": 67.647
  },
  "oklch": {
    "l": 0.69568,
    "c": 0.08953,
    "h": 305.1
  },
  "luminance": 0.32455
}

Semantic roles & 50–950 ramp

primary
#AA8FCA
secondary
#DBE4D1
accent
#AF3778
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#121015
muted
#817F83

Preview Lab

Preview with #AA8FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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