#AC5DEB#AC5DEB

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

Color values

HEX#AC5DEB
RGBrgb(172, 93, 235)
HSLhsl(273, 78%, 64%)
HSVhsv(273, 60%, 92%)
CMYKcmyk(26.8%, 60.4%, 0%, 7.8%)
CIE-LABlab(54.66, 56.94, -59.44)
CIE-LCHlch(54.66, 82.31, 313.77°)
OKLaboklab(63.36% 0.1266 -0.1678)
OKLCHoklch(63.36% 0.21 307)
XYZxyz(35.9199, 22.5979, 81.0507)
Luminance0.2260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5DEB #9CEB5D
analogous
#655DEB #AC5DEB #EB5DE3
triadic
#AC5DEB #EBAC5D #5DEBAC
tetradic
#AC5DEB #EB655D #9CEB5D #5DE3EB
square
#AC5DEB #EB655D #9CEB5D #5DE3EB
split-complementary
#AC5DEB #E3EB5D #5DEB65
monochromatic
#7017B7 #9027E4 #AC5DEB #C893F2 #E4CAF8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC5DEB#FFFFFF#000000##000000
##AC5DEB1.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)
#1680EF
Deuteranopia (green-blind)
#4383E8
Tritanopia (blue-blind)
#A2799B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ac5deb;
/* rgb */ color: rgb(172, 93, 235);
/* oklch */ color: oklch(63.4% 0.210 307.0);
Tailwind
colors: {
  custom: {
    50: '#c98ff2',
    500: '#ac5deb',
    950: '#000000',
  },
}
SCSS
$custom: #ac5deb;
$custom-light: #c98ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5deb",
  "rgb": {
    "r": 172,
    "g": 93,
    "b": 235
  },
  "hsl": {
    "h": 273.38,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.63357,
    "c": 0.21025,
    "h": 307
  },
  "luminance": 0.22598
}

Semantic roles & 50–950 ramp

primary
#AC5DEB
secondary
#CFEBB9
accent
#DA0B67
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #AC5DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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