#AC96EB#AC96EB

#AC96EB is a light, vivid violet. Relative luminance 0.366; OKLCH L 72.5% C 0.123 H 295.1°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#AC96EB
RGBrgb(172, 150, 235)
HSLhsl(256, 68%, 75%)
HSVhsv(256, 36%, 92%)
CMYKcmyk(26.8%, 36.2%, 0%, 7.8%)
CIE-LABlab(66.96, 25.98, -39.94)
CIE-LCHlch(66.96, 47.65, 303.04°)
OKLaboklab(72.54% 0.052 -0.1112)
OKLCHoklch(72.54% 0.123 295.1)
XYZxyz(42.9114, 36.5810, 83.3812)
Luminance0.3658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC96EB #D5EB96
analogous
#96AAEB #AC96EB #D696EB
triadic
#AC96EB #EBAC96 #96EBAC
tetradic
#AC96EB #EB96AA #D5EB96 #96EBD6
square
#AC96EB #EB96AA #D5EB96 #96EBD6
split-complementary
#AC96EB #EBD696 #AAEB96
monochromatic
#5B2FD7 #8363E1 #AC96EB #D5C9F5 #EBE5FA

Accessibility & contrast

On white

2.53
#AC96EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#AC96EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC96EB
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC96EB#FFFFFF#000000##000000
##AC96EB1.002.538.328.32
#FFFFFF2.531.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA4EE
Deuteranopia (green-blind)
#82A2E9
Tritanopia (blue-blind)
#9FA5B6
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ac96eb;
/* rgb */ color: rgb(172, 150, 235);
/* oklch */ color: oklch(72.5% 0.123 295.1);
Tailwind
colors: {
  custom: {
    50: '#c6b5f1',
    500: '#ac96eb',
    950: '#000000',
  },
}
SCSS
$custom: #ac96eb;
$custom-light: #c6b5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac96eb",
  "rgb": {
    "r": 172,
    "g": 150,
    "b": 235
  },
  "hsl": {
    "h": 255.529,
    "s": 68,
    "l": 75.49
  },
  "oklch": {
    "l": 0.72539,
    "c": 0.12274,
    "h": 295.1
  },
  "luminance": 0.36582
}

Semantic roles & 50–950 ramp

primary
#AC96EB
secondary
#EBF2D9
accent
#D016A0
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #AC96EB

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

Preview Lab → · Contrast checker → · Palette generator →

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