#AC5BEE#AC5BEE

#AC5BEE is a light, highly saturated violet. Relative luminance 0.224; OKLCH L 63.3% C 0.216 H 306.6°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#AC5BEE
RGBrgb(172, 91, 238)
HSLhsl(273, 81%, 65%)
HSVhsv(273, 62%, 93%)
CMYKcmyk(27.7%, 61.8%, 0%, 6.7%)
CIE-LABlab(54.48, 58.60, -61.40)
CIE-LCHlch(54.48, 84.88, 313.66°)
OKLaboklab(63.29% 0.1288 -0.1736)
OKLCHoklch(63.29% 0.216 306.6)
XYZxyz(36.1837, 22.4262, 83.2948)
Luminance0.2243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5BEE #9DEE5B
analogous
#635BEE #AC5BEE #EE5BE7
triadic
#AC5BEE #EEAC5B #5BEEAC
tetradic
#AC5BEE #EE635B #9DEE5B #5BE7EE
square
#AC5BEE #EE635B #9DEE5B #5BE7EE
split-complementary
#AC5BEE #E7EE5B #5BEE63
monochromatic
#7013BB #9024E8 #AC5BEE #C892F4 #E4CAF9

Accessibility & contrast

On white

3.83
#AC5BEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#AC5BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5BEE
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5BEE#FFFFFF#000000##000000
##AC5BEE1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F3
Deuteranopia (green-blind)
#3D83EB
Tritanopia (blue-blind)
#A1799C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ac5bee;
/* rgb */ color: rgb(172, 91, 238);
/* oklch */ color: oklch(63.3% 0.216 306.6);
Tailwind
colors: {
  custom: {
    50: '#c98ef4',
    500: '#ac5bee',
    950: '#000000',
  },
}
SCSS
$custom: #ac5bee;
$custom-light: #c98ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5bee",
  "rgb": {
    "r": 172,
    "g": 91,
    "b": 238
  },
  "hsl": {
    "h": 273.061,
    "s": 81.215,
    "l": 64.51
  },
  "oklch": {
    "l": 0.63286,
    "c": 0.21619,
    "h": 306.6
  },
  "luminance": 0.22426
}

Semantic roles & 50–950 ramp

primary
#AC5BEE
secondary
#D0ECB9
accent
#DE0868
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#140D17
muted
#827D85

Preview Lab

Preview with #AC5BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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