#AC81D8#AC81D8

#AC81D8 is a light, vivid violet. Relative luminance 0.294; OKLCH L 67.9% C 0.132 H 305.9°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#AC81D8
RGBrgb(172, 129, 216)
HSLhsl(270, 53%, 68%)
HSVhsv(270, 40%, 85%)
CMYKcmyk(20.4%, 40.3%, 0%, 15.3%)
CIE-LABlab(61.16, 33.34, -38.48)
CIE-LCHlch(61.16, 50.92, 310.91°)
OKLaboklab(67.86% 0.0775 -0.1069)
OKLCHoklch(67.86% 0.132 305.9)
XYZxyz(37.2557, 29.4293, 68.6702)
Luminance0.2943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC81D8 #ADD881
analogous
#8182D8 #AC81D8 #D781D8
triadic
#AC81D8 #D8AC81 #81D8AC
tetradic
#AC81D8 #D88182 #ADD881 #81D8D7
square
#AC81D8 #D88182 #ADD881 #81D8D7
split-complementary
#AC81D8 #D8D781 #82D881
monochromatic
#6F35AA #8D52CA #AC81D8 #CBB0E6 #EADEF5

Accessibility & contrast

On white

3.05
#AC81D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#AC81D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC81D8
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC81D8#FFFFFF#000000##000000
##AC81D81.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D92DB
Deuteranopia (green-blind)
#7794D6
Tritanopia (blue-blind)
#A58FA2
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ac81d8;
/* rgb */ color: rgb(172, 129, 216);
/* oklch */ color: oklch(67.9% 0.132 305.9);
Tailwind
colors: {
  custom: {
    50: '#c6a6e4',
    500: '#ac81d8',
    950: '#000000',
  },
}
SCSS
$custom: #ac81d8;
$custom-light: #c6a6e4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac81d8",
  "rgb": {
    "r": 172,
    "g": 129,
    "b": 216
  },
  "hsl": {
    "h": 269.655,
    "s": 52.727,
    "l": 67.647
  },
  "oklch": {
    "l": 0.67858,
    "c": 0.13202,
    "h": 305.9
  },
  "luminance": 0.29429
}

Semantic roles & 50–950 ramp

primary
#AC81D8
secondary
#DBE8CD
accent
#C02574
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#130F15
muted
#827F84

Preview Lab

Preview with #AC81D8

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

Preview Lab → · Contrast checker → · Palette generator →

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