#AC5DEC#AC5DEC

#AC5DEC is a light, highly saturated violet. Relative luminance 0.227; OKLCH L 63.4% C 0.211 H 306.8°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#AC5DEC
RGBrgb(172, 93, 236)
HSLhsl(273, 79%, 65%)
HSVhsv(273, 61%, 93%)
CMYKcmyk(27.1%, 60.6%, 0%, 7.5%)
CIE-LABlab(54.72, 57.17, -59.90)
CIE-LCHlch(54.72, 82.80, 313.66°)
OKLaboklab(63.42% 0.1266 -0.1692)
OKLCHoklch(63.42% 0.211 306.8)
XYZxyz(36.0648, 22.6559, 81.8137)
Luminance0.2266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5DEC #9DEC5D
analogous
#655DEC #AC5DEC #EC5DE5
triadic
#AC5DEC #ECAC5D #5DECAC
tetradic
#AC5DEC #EC655D #9DEC5D #5DE5EC
square
#AC5DEC #EC655D #9DEC5D #5DE5EC
split-complementary
#AC5DEC #E5EC5D #5DEC65
monochromatic
#7016B9 #9026E6 #AC5DEC #C894F2 #E4CBF9

Accessibility & contrast

On white

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

On black

5.53
#AC5DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5DEC
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5DEC#FFFFFF#000000##000000
##AC5DEC1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1280F1
Deuteranopia (green-blind)
#4284E9
Tritanopia (blue-blind)
#A27A9C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ac5dec;
/* rgb */ color: rgb(172, 93, 236);
/* oklch */ color: oklch(63.4% 0.211 306.8);
Tailwind
colors: {
  custom: {
    50: '#c98ff3',
    500: '#ac5dec',
    950: '#000000',
  },
}
SCSS
$custom: #ac5dec;
$custom-light: #c98ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5dec",
  "rgb": {
    "r": 172,
    "g": 93,
    "b": 236
  },
  "hsl": {
    "h": 273.147,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.63421,
    "c": 0.21132,
    "h": 306.8
  },
  "luminance": 0.22655
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC5DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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