#AC95EC#AC95EC

#AC95EC is a light, vivid violet. Relative luminance 0.363; OKLCH L 72.4% C 0.126 H 295.2°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#AC95EC
RGBrgb(172, 149, 236)
HSLhsl(256, 70%, 75%)
HSVhsv(256, 37%, 93%)
CMYKcmyk(27.1%, 36.9%, 0%, 7.5%)
CIE-LABlab(66.76, 26.79, -40.80)
CIE-LCHlch(66.76, 48.81, 303.29°)
OKLaboklab(72.4% 0.0536 -0.1137)
OKLCHoklch(72.4% 0.126 295.2)
XYZxyz(42.8974, 36.3212, 84.0913)
Luminance0.3632 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC95EC #D5EC95
analogous
#95A9EC #AC95EC #D795EC
triadic
#AC95EC #ECAC95 #95ECAC
tetradic
#AC95EC #EC95A9 #D5EC95 #95ECD7
square
#AC95EC #EC95A9 #D5EC95 #95ECD7
split-complementary
#AC95EC #ECD795 #A9EC95
monochromatic
#5B2DD9 #8361E3 #AC95EC #D5C9F5 #EBE5FA

Accessibility & contrast

On white

2.54
#AC95EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#AC95EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC95EC
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC95EC#FFFFFF#000000##000000
##AC95EC1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA3EF
Deuteranopia (green-blind)
#81A1EA
Tritanopia (blue-blind)
#9FA4B5
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ac95ec;
/* rgb */ color: rgb(172, 149, 236);
/* oklch */ color: oklch(72.4% 0.126 295.2);
Tailwind
colors: {
  custom: {
    50: '#c6b4f2',
    500: '#ac95ec',
    950: '#000000',
  },
}
SCSS
$custom: #ac95ec;
$custom-light: #c6b4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac95ec",
  "rgb": {
    "r": 172,
    "g": 149,
    "b": 236
  },
  "hsl": {
    "h": 255.862,
    "s": 69.6,
    "l": 75.49
  },
  "oklch": {
    "l": 0.72404,
    "c": 0.12566,
    "h": 295.2
  },
  "luminance": 0.36322
}

Semantic roles & 50–950 ramp

primary
#AC95EC
secondary
#EBF2D9
accent
#D2149F
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #AC95EC

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

Preview Lab → · Contrast checker → · Palette generator →

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