#AC5CEE#AC5CEE

#AC5CEE is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 63.4% C 0.215 H 306.5°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#AC5CEE
RGBrgb(172, 92, 238)
HSLhsl(273, 81%, 65%)
HSVhsv(273, 61%, 93%)
CMYKcmyk(27.7%, 61.3%, 0%, 6.7%)
CIE-LABlab(54.66, 58.11, -61.11)
CIE-LCHlch(54.66, 84.33, 313.56°)
OKLaboklab(63.42% 0.1277 -0.1728)
OKLCHoklch(63.42% 0.215 306.5)
XYZxyz(36.2697, 22.5984, 83.3235)
Luminance0.2260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5CEE #9EEE5C
analogous
#635CEE #AC5CEE #EE5CE7
triadic
#AC5CEE #EEAC5C #5CEEAC
tetradic
#AC5CEE #EE635C #9EEE5C #5CE7EE
square
#AC5CEE #EE635C #9EEE5C #5CE7EE
split-complementary
#AC5CEE #E7EE5C #5CEE63
monochromatic
#7014BC #9025E8 #AC5CEE #C893F4 #E4CBFA

Accessibility & contrast

On white

3.80
#AC5CEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#AC5CEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5CEE
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5CEE#FFFFFF#000000##000000
##AC5CEE1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0180F3
Deuteranopia (green-blind)
#3E83EB
Tritanopia (blue-blind)
#A17A9D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ac5cee;
/* rgb */ color: rgb(172, 92, 238);
/* oklch */ color: oklch(63.4% 0.215 306.5);
Tailwind
colors: {
  custom: {
    50: '#c98ef4',
    500: '#ac5cee',
    950: '#000000',
  },
}
SCSS
$custom: #ac5cee;
$custom-light: #c98ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5cee",
  "rgb": {
    "r": 172,
    "g": 92,
    "b": 238
  },
  "hsl": {
    "h": 272.877,
    "s": 81.111,
    "l": 64.706
  },
  "oklch": {
    "l": 0.63416,
    "c": 0.21483,
    "h": 306.5
  },
  "luminance": 0.22598
}

Semantic roles & 50–950 ramp

primary
#AC5CEE
secondary
#D0ECBA
accent
#DD0869
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#140D17
muted
#827D85

Preview Lab

Preview with #AC5CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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