#AC9DF2#AC9DF2

#AC9DF2 is a light, vivid violet. Relative luminance 0.393; OKLCH L 74.2% C 0.121 H 291.2°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#AC9DF2
RGBrgb(172, 157, 242)
HSLhsl(251, 77%, 78%)
HSVhsv(251, 35%, 95%)
CMYKcmyk(28.9%, 35.1%, 0%, 5.1%)
CIE-LABlab(68.96, 23.74, -40.65)
CIE-LCHlch(68.96, 47.07, 300.29°)
OKLaboklab(74.17% 0.044 -0.1132)
OKLCHoklch(74.17% 0.121 291.2)
XYZxyz(45.0932, 39.2946, 89.1960)
Luminance0.3930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC9DF2 #E3F29D
analogous
#9DB8F2 #AC9DF2 #D69DF2
triadic
#AC9DF2 #F2AC9D #9DF2AC
tetradic
#AC9DF2 #F29DB8 #E3F29D #9DF2D6
square
#AC9DF2 #F29DB8 #E3F29D #9DF2D6
split-complementary
#AC9DF2 #F2D69D #B8F29D
monochromatic
#5031E4 #7E67EB #AC9DF2 #DAD3F9 #E8E4FB

Accessibility & contrast

On white

2.37
#AC9DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#AC9DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC9DF2
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC9DF2#FFFFFF#000000##000000
##AC9DF21.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#85AAF5
Deuteranopia (green-blind)
#86A7F0
Tritanopia (blue-blind)
#9CACBC
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ac9df2;
/* rgb */ color: rgb(172, 157, 242);
/* oklch */ color: oklch(74.2% 0.121 291.2);
Tailwind
colors: {
  custom: {
    50: '#c6baf6',
    500: '#ac9df2',
    950: '#000000',
  },
}
SCSS
$custom: #ac9df2;
$custom-light: #c6baf6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac9df2",
  "rgb": {
    "r": 172,
    "g": 157,
    "b": 242
  },
  "hsl": {
    "h": 250.588,
    "s": 76.577,
    "l": 78.235
  },
  "oklch": {
    "l": 0.74169,
    "c": 0.12148,
    "h": 291.2
  },
  "luminance": 0.39295
}

Semantic roles & 50–950 ramp

primary
#AC9DF2
secondary
#EEF3D8
accent
#D90DB5
background
#FCFBFF
surface
#F8F6FE
border
#D1D0D6
text
#131117
muted
#828085

Preview Lab

Preview with #AC9DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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