#AA98CF#AA98CF

#AA98CF is a light, moderate violet. Relative luminance 0.355; OKLCH L 71.5% C 0.081 H 299.4°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#AA98CF
RGBrgb(170, 152, 207)
HSLhsl(260, 36%, 70%)
HSVhsv(260, 27%, 81%)
CMYKcmyk(17.9%, 26.6%, 0%, 18.8%)
CIE-LABlab(66.14, 17.70, -25.75)
CIE-LCHlch(66.14, 31.24, 304.50°)
OKLaboklab(71.49% 0.0397 -0.0706)
OKLCHoklch(71.49% 0.081 299.4)
XYZxyz(39.0659, 35.5074, 63.8149)
Luminance0.3551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA98CF #BDCF98
analogous
#98A1CF #AA98CF #C598CF
triadic
#AA98CF #CFAA98 #98CFAA
tetradic
#AA98CF #CF98A1 #BDCF98 #98CFC5
square
#AA98CF #CF98A1 #BDCF98 #98CFC5
split-complementary
#AA98CF #CFC598 #A1CF98
monochromatic
#674BA1 #886EBC #AA98CF #CCC2E2 #EEEAF5

Accessibility & contrast

On white

2.59
#AA98CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#AA98CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA98CF
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA98CF#FFFFFF#000000##000000
##AA98CF1.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA1D1
Deuteranopia (green-blind)
#8FA0CD
Tritanopia (blue-blind)
#A4A0AB
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #aa98cf;
/* rgb */ color: rgb(170, 152, 207);
/* oklch */ color: oklch(71.5% 0.081 299.4);
Tailwind
colors: {
  custom: {
    50: '#c4b6dd',
    500: '#aa98cf',
    950: '#000000',
  },
}
SCSS
$custom: #aa98cf;
$custom-light: #c4b6dd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa98cf",
  "rgb": {
    "r": 170,
    "g": 152,
    "b": 207
  },
  "hsl": {
    "h": 259.636,
    "s": 36.424,
    "l": 70.392
  },
  "oklch": {
    "l": 0.71494,
    "c": 0.08105,
    "h": 299.4
  },
  "luminance": 0.35508
}

Semantic roles & 50–950 ramp

primary
#AA98CF
secondary
#E4E9DA
accent
#AF3688
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#121115
muted
#818083

Preview Lab

Preview with #AA98CF

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

Preview Lab → · Contrast checker → · Palette generator →

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