#AC5CEC#AC5CEC

#AC5CEC is a light, highly saturated violet. Relative luminance 0.225; OKLCH L 63.3% C 0.213 H 306.9°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#AC5CEC
RGBrgb(172, 92, 236)
HSLhsl(273, 79%, 64%)
HSVhsv(273, 61%, 93%)
CMYKcmyk(27.1%, 61%, 0%, 7.5%)
CIE-LABlab(54.53, 57.66, -60.19)
CIE-LCHlch(54.53, 83.35, 313.77°)
OKLaboklab(63.29% 0.1278 -0.1701)
OKLCHoklch(63.29% 0.213 306.9)
XYZxyz(35.9776, 22.4815, 81.7846)
Luminance0.2248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5CEC #9CEC5C
analogous
#645CEC #AC5CEC #EC5CE4
triadic
#AC5CEC #ECAC5C #5CECAC
tetradic
#AC5CEC #EC645C #9CEC5C #5CE4EC
square
#AC5CEC #EC645C #9CEC5C #5CE4EC
split-complementary
#AC5CEC #E4EC5C #5CEC64
monochromatic
#7015B8 #9025E6 #AC5CEC #C893F2 #E4CAF9

Accessibility & contrast

On white

3.82
#AC5CEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#AC5CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5CEC
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5CEC#FFFFFF#000000##000000
##AC5CEC1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C80F1
Deuteranopia (green-blind)
#4183E9
Tritanopia (blue-blind)
#A2799C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ac5cec;
/* rgb */ color: rgb(172, 92, 236);
/* oklch */ color: oklch(63.3% 0.213 306.9);
Tailwind
colors: {
  custom: {
    50: '#c98ef3',
    500: '#ac5cec',
    950: '#000000',
  },
}
SCSS
$custom: #ac5cec;
$custom-light: #c98ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5cec",
  "rgb": {
    "r": 172,
    "g": 92,
    "b": 236
  },
  "hsl": {
    "h": 273.333,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.63288,
    "c": 0.2127,
    "h": 306.9
  },
  "luminance": 0.22481
}

Semantic roles & 50–950 ramp

primary
#AC5CEC
secondary
#CFEBB9
accent
#DB0A67
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140D17
muted
#827D85

Preview Lab

Preview with #AC5CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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