#AC5DEA#AC5DEA

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

Color values

HEX#AC5DEA
RGBrgb(172, 93, 234)
HSLhsl(274, 77%, 64%)
HSVhsv(274, 60%, 92%)
CMYKcmyk(26.5%, 60.3%, 0%, 8.2%)
CIE-LABlab(54.60, 56.72, -58.97)
CIE-LCHlch(54.60, 81.82, 313.88°)
OKLaboklab(63.29% 0.1266 -0.1665)
OKLCHoklch(63.29% 0.209 307.3)
XYZxyz(35.7758, 22.5403, 80.2920)
Luminance0.2254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5DEA #9BEA5D
analogous
#665DEA #AC5DEA #EA5DE2
triadic
#AC5DEA #EAAC5D #5DEAAC
tetradic
#AC5DEA #EA665D #9BEA5D #5DE2EA
square
#AC5DEA #EA665D #9BEA5D #5DE2EA
split-complementary
#AC5DEA #E2EA5D #5DEA66
monochromatic
#7017B5 #9027E3 #AC5DEA #C893F1 #E4C9F8

Accessibility & contrast

On white

3.81
#AC5DEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#AC5DEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5DEA
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5DEA#FFFFFF#000000##000000
##AC5DEA1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1980EE
Deuteranopia (green-blind)
#4483E7
Tritanopia (blue-blind)
#A2799B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ac5dea;
/* rgb */ color: rgb(172, 93, 234);
/* oklch */ color: oklch(63.3% 0.209 307.3);
Tailwind
colors: {
  custom: {
    50: '#c98ff1',
    500: '#ac5dea',
    950: '#000000',
  },
}
SCSS
$custom: #ac5dea;
$custom-light: #c98ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5dea",
  "rgb": {
    "r": 172,
    "g": 93,
    "b": 234
  },
  "hsl": {
    "h": 273.617,
    "s": 77.049,
    "l": 64.118
  },
  "oklch": {
    "l": 0.63294,
    "c": 0.20917,
    "h": 307.3
  },
  "luminance": 0.2254
}

Semantic roles & 50–950 ramp

primary
#AC5DEA
secondary
#CEEAB9
accent
#D90C66
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #AC5DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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