#AC98CE#AC98CE

#AC98CE is a light, moderate violet. Relative luminance 0.357; OKLCH L 71.6% C 0.080 H 301.4°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#AC98CE
RGBrgb(172, 152, 206)
HSLhsl(262, 36%, 70%)
HSVhsv(262, 26%, 81%)
CMYKcmyk(16.5%, 26.2%, 0%, 19.2%)
CIE-LABlab(66.28, 18.10, -24.97)
CIE-LCHlch(66.28, 30.84, 305.94°)
OKLaboklab(71.63% 0.0417 -0.0684)
OKLCHoklch(71.63% 0.08 301.4)
XYZxyz(39.3798, 35.6833, 63.1935)
Luminance0.3568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC98CE #BACE98
analogous
#989FCE #AC98CE #C798CE
triadic
#AC98CE #CEAC98 #98CEAC
tetradic
#AC98CE #CE989F #BACE98 #98CEC7
square
#AC98CE #CE989F #BACE98 #98CEC7
split-complementary
#AC98CE #CEC798 #9FCE98
monochromatic
#6B4CA0 #8B6FBA #AC98CE #CDC1E2 #EEEAF5

Accessibility & contrast

On white

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

On black

8.14
#AC98CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC98CE
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC98CE#FFFFFF#000000##000000
##AC98CE1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA1D0
Deuteranopia (green-blind)
#91A1CC
Tritanopia (blue-blind)
#A6A0AB
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ac98ce;
/* rgb */ color: rgb(172, 152, 206);
/* oklch */ color: oklch(71.6% 0.080 301.4);
Tailwind
colors: {
  custom: {
    50: '#c5b6dd',
    500: '#ac98ce',
    950: '#000000',
  },
}
SCSS
$custom: #ac98ce;
$custom-light: #c5b6dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ac98ce",
  "rgb": {
    "r": 172,
    "g": 152,
    "b": 206
  },
  "hsl": {
    "h": 262.222,
    "s": 35.526,
    "l": 70.196
  },
  "oklch": {
    "l": 0.71628,
    "c": 0.08011,
    "h": 301.4
  },
  "luminance": 0.35683
}

Semantic roles & 50–950 ramp

primary
#AC98CE
secondary
#E3E8D9
accent
#AE3782
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#131115
muted
#828083

Preview Lab

Preview with #AC98CE

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

Preview Lab → · Contrast checker → · Palette generator →

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