#AC96EF#AC96EF

#AC96EF is a light, vivid violet. Relative luminance 0.368; OKLCH L 72.7% C 0.128 H 294.4°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#AC96EF
RGBrgb(172, 150, 239)
HSLhsl(255, 74%, 76%)
HSVhsv(255, 37%, 94%)
CMYKcmyk(28%, 37.2%, 0%, 6.3%)
CIE-LABlab(67.14, 26.95, -41.86)
CIE-LCHlch(67.14, 49.79, 302.78°)
OKLaboklab(72.73% 0.0528 -0.1167)
OKLCHoklch(72.73% 0.128 294.4)
XYZxyz(43.4958, 36.8147, 86.4590)
Luminance0.3681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC96EF #D9EF96
analogous
#96ADEF #AC96EF #D996EF
triadic
#AC96EF #EFAC96 #96EFAC
tetradic
#AC96EF #EF96AD #D9EF96 #96EFD9
square
#AC96EF #EF96AD #D9EF96 #96EFD9
split-complementary
#AC96EF #EFD996 #ADEF96
monochromatic
#582CDF #8261E7 #AC96EF #D6CBF7 #EAE4FB

Accessibility & contrast

On white

2.51
#AC96EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#AC96EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC96EF
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC96EF#FFFFFF#000000##000000
##AC96EF1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA4F2
Deuteranopia (green-blind)
#80A2ED
Tritanopia (blue-blind)
#9EA6B7
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ac96ef;
/* rgb */ color: rgb(172, 150, 239);
/* oklch */ color: oklch(72.7% 0.128 294.4);
Tailwind
colors: {
  custom: {
    50: '#c6b5f4',
    500: '#ac96ef',
    950: '#000000',
  },
}
SCSS
$custom: #ac96ef;
$custom-light: #c6b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac96ef",
  "rgb": {
    "r": 172,
    "g": 150,
    "b": 239
  },
  "hsl": {
    "h": 254.831,
    "s": 73.554,
    "l": 76.275
  },
  "oklch": {
    "l": 0.72732,
    "c": 0.12813,
    "h": 294.4
  },
  "luminance": 0.36815
}

Semantic roles & 50–950 ramp

primary
#AC96EF
secondary
#ECF3D8
accent
#D610A5
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #AC96EF

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

Preview Lab → · Contrast checker → · Palette generator →

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