#AC98CD#AC98CD

#AC98CD is a light, moderate violet. Relative luminance 0.356; OKLCH L 71.6% C 0.079 H 301.7°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#AC98CD
RGBrgb(172, 152, 205)
HSLhsl(263, 35%, 70%)
HSVhsv(263, 26%, 80%)
CMYKcmyk(16.1%, 25.9%, 0%, 19.6%)
CIE-LABlab(66.24, 17.88, -24.47)
CIE-LCHlch(66.24, 30.31, 306.16°)
OKLaboklab(71.59% 0.0414 -0.067)
OKLCHoklch(71.59% 0.079 301.7)
XYZxyz(39.2587, 35.6349, 62.5557)
Luminance0.3564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC98CD #B9CD98
analogous
#989ECD #AC98CD #C798CD
triadic
#AC98CD #CDAC98 #98CDAC
tetradic
#AC98CD #CD989E #B9CD98 #98CDC7
square
#AC98CD #CD989E #B9CD98 #98CDC7
split-complementary
#AC98CD #CDC798 #9ECD98
monochromatic
#6B4D9E #8B6FB9 #AC98CD #CDC1E1 #EEEAF5

Accessibility & contrast

On white

2.58
#AC98CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#AC98CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC98CD
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC98CD#FFFFFF#000000##000000
##AC98CD1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA1CF
Deuteranopia (green-blind)
#91A1CB
Tritanopia (blue-blind)
#A7A0AA
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ac98cd;
/* rgb */ color: rgb(172, 152, 205);
/* oklch */ color: oklch(71.6% 0.079 301.7);
Tailwind
colors: {
  custom: {
    50: '#c5b6dc',
    500: '#ac98cd',
    950: '#000000',
  },
}
SCSS
$custom: #ac98cd;
$custom-light: #c5b6dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ac98cd",
  "rgb": {
    "r": 172,
    "g": 152,
    "b": 205
  },
  "hsl": {
    "h": 262.642,
    "s": 34.641,
    "l": 70
  },
  "oklch": {
    "l": 0.71587,
    "c": 0.07876,
    "h": 301.7
  },
  "luminance": 0.35635
}

Semantic roles & 50–950 ramp

primary
#AC98CD
secondary
#E2E8D9
accent
#AD3881
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#131115
muted
#828083

Preview Lab

Preview with #AC98CD

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

Preview Lab → · Contrast checker → · Palette generator →

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