#AC98CA#AC98CA

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

Color values

HEX#AC98CA
RGBrgb(172, 152, 202)
HSLhsl(264, 32%, 69%)
HSVhsv(264, 25%, 79%)
CMYKcmyk(14.9%, 24.8%, 0%, 20.8%)
CIE-LABlab(66.13, 17.22, -22.97)
CIE-LCHlch(66.13, 28.71, 306.86°)
OKLaboklab(71.47% 0.0405 -0.0628)
OKLCHoklch(71.47% 0.075 302.8)
XYZxyz(38.9000, 35.4914, 60.6669)
Luminance0.3549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC98CA #B6CA98
analogous
#989DCA #AC98CA #C598CA
triadic
#AC98CA #CAAC98 #98CAAC
tetradic
#AC98CA #CA989D #B6CA98 #98CAC5
square
#AC98CA #CA989D #B6CA98 #98CAC5
split-complementary
#AC98CA #CAC598 #9DCA98
monochromatic
#6C4F99 #8B70B5 #AC98CA #CDC0DF #EDE9F4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC98CA#FFFFFF#000000##000000
##AC98CA1.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)
#8EA0CC
Deuteranopia (green-blind)
#92A1C9
Tritanopia (blue-blind)
#A79FA9
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ac98ca;
/* rgb */ color: rgb(172, 152, 202);
/* oklch */ color: oklch(71.5% 0.075 302.8);
Tailwind
colors: {
  custom: {
    50: '#c5b6da',
    500: '#ac98ca',
    950: '#000000',
  },
}
SCSS
$custom: #ac98ca;
$custom-light: #c5b6da;
$custom-dark: #000000;
JSON
{
  "hex": "#ac98ca",
  "rgb": {
    "r": 172,
    "g": 152,
    "b": 202
  },
  "hsl": {
    "h": 264,
    "s": 32.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71465,
    "c": 0.0747,
    "h": 302.8
  },
  "luminance": 0.35491
}

Semantic roles & 50–950 ramp

primary
#AC98CA
secondary
#E0E6D8
accent
#AB3B7E
background
#FCFBFD
surface
#F8F6FA
border
#D1D0D3
text
#131114
muted
#828083

Preview Lab

Preview with #AC98CA

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

Preview Lab → · Contrast checker → · Palette generator →

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