#AC9DEC#AC9DEC

#AC9DEC is a light, moderate violet. Relative luminance 0.389; OKLCH L 73.9% C 0.113 H 292.1°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#AC9DEC
RGBrgb(172, 157, 236)
HSLhsl(251, 68%, 77%)
HSVhsv(251, 33%, 93%)
CMYKcmyk(27.1%, 33.5%, 0%, 7.5%)
CIE-LABlab(68.71, 22.27, -37.77)
CIE-LCHlch(68.71, 43.84, 300.53°)
OKLaboklab(73.89% 0.0426 -0.1049)
OKLCHoklch(73.89% 0.113 292.1)
XYZxyz(44.2068, 38.9400, 84.5277)
Luminance0.3894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC9DEC #DDEC9D
analogous
#9DB6EC #AC9DEC #D39DEC
triadic
#AC9DEC #ECAC9D #9DECAC
tetradic
#AC9DEC #EC9DB6 #DDEC9D #9DECD3
square
#AC9DEC #EC9DB6 #DDEC9D #9DECD3
split-complementary
#AC9DEC #ECD39D #B6EC9D
monochromatic
#5536D8 #816AE2 #AC9DEC #D7D0F6 #E9E5FA

Accessibility & contrast

On white

2.39
#AC9DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#AC9DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC9DEC
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC9DEC#FFFFFF#000000##000000
##AC9DEC1.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A9EF
Deuteranopia (green-blind)
#89A6EA
Tritanopia (blue-blind)
#9EABBA
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ac9dec;
/* rgb */ color: rgb(172, 157, 236);
/* oklch */ color: oklch(73.9% 0.113 292.1);
Tailwind
colors: {
  custom: {
    50: '#c6baf2',
    500: '#ac9dec',
    950: '#000000',
  },
}
SCSS
$custom: #ac9dec;
$custom-light: #c6baf2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac9dec",
  "rgb": {
    "r": 172,
    "g": 157,
    "b": 236
  },
  "hsl": {
    "h": 251.392,
    "s": 67.521,
    "l": 77.059
  },
  "oklch": {
    "l": 0.73888,
    "c": 0.11326,
    "h": 292.1
  },
  "luminance": 0.38941
}

Semantic roles & 50–950 ramp

primary
#AC9DEC
secondary
#EDF2D9
accent
#CF16AC
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #AC9DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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