#AC5EEC#AC5EEC

#AC5EEC is a light, highly saturated violet. Relative luminance 0.228; OKLCH L 63.6% C 0.210 H 306.7°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#AC5EEC
RGBrgb(172, 94, 236)
HSLhsl(273, 79%, 65%)
HSVhsv(273, 60%, 93%)
CMYKcmyk(27.1%, 60.2%, 0%, 7.5%)
CIE-LABlab(54.90, 56.67, -59.61)
CIE-LCHlch(54.90, 82.25, 313.56°)
OKLaboklab(63.55% 0.1254 -0.1683)
OKLCHoklch(63.55% 0.21 306.7)
XYZxyz(36.1531, 22.8326, 81.8432)
Luminance0.2283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5EEC #9EEC5E
analogous
#655EEC #AC5EEC #EC5EE5
triadic
#AC5EEC #ECAC5E #5EECAC
tetradic
#AC5EEC #EC655E #9EEC5E #5EE5EC
square
#AC5EEC #EC655E #9EEC5E #5EE5EC
split-complementary
#AC5EEC #E5EC5E #5EEC65
monochromatic
#7016BA #9027E6 #AC5EEC #C895F2 #E4CBF9

Accessibility & contrast

On white

3.77
#AC5EEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#AC5EEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5EEC
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5EEC#FFFFFF#000000##000000
##AC5EEC1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1781F0
Deuteranopia (green-blind)
#4384E9
Tritanopia (blue-blind)
#A27A9C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ac5eec;
/* rgb */ color: rgb(172, 94, 236);
/* oklch */ color: oklch(63.6% 0.210 306.7);
Tailwind
colors: {
  custom: {
    50: '#c98ff3',
    500: '#ac5eec',
    950: '#000000',
  },
}
SCSS
$custom: #ac5eec;
$custom-light: #c98ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5eec",
  "rgb": {
    "r": 172,
    "g": 94,
    "b": 236
  },
  "hsl": {
    "h": 272.958,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.63554,
    "c": 0.20992,
    "h": 306.7
  },
  "luminance": 0.22832
}

Semantic roles & 50–950 ramp

primary
#AC5EEC
secondary
#D0EBBB
accent
#DB0A68
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #AC5EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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