#AC5BE8#AC5BE8

#AC5BE8 is a light, highly saturated violet. Relative luminance 0.221; OKLCH L 62.9% C 0.210 H 307.9°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#AC5BE8
RGBrgb(172, 91, 232)
HSLhsl(274, 75%, 63%)
HSVhsv(274, 61%, 91%)
CMYKcmyk(25.9%, 60.8%, 0%, 9%)
CIE-LABlab(54.11, 57.26, -58.63)
CIE-LCHlch(54.11, 81.95, 314.32°)
OKLaboklab(62.9% 0.129 -0.1655)
OKLCHoklch(62.9% 0.21 307.9)
XYZxyz(35.3169, 22.0795, 78.7296)
Luminance0.2208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5BE8 #97E85B
analogous
#655BE8 #AC5BE8 #E85BDD
triadic
#AC5BE8 #E8AC5B #5BE8AC
tetradic
#AC5BE8 #E8655B #97E85B #5BDDE8
square
#AC5BE8 #E8655B #97E85B #5BDDE8
split-complementary
#AC5BE8 #DDE85B #5BE865
monochromatic
#7019B0 #9125E0 #AC5BE8 #C791F0 #E2C6F7

Accessibility & contrast

On white

3.88
#AC5BE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#AC5BE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5BE8
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5BE8#FFFFFF#000000##000000
##AC5BE81.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#157EEC
Deuteranopia (green-blind)
#4482E5
Tritanopia (blue-blind)
#A37799
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ac5be8;
/* rgb */ color: rgb(172, 91, 232);
/* oklch */ color: oklch(62.9% 0.210 307.9);
Tailwind
colors: {
  custom: {
    50: '#c98df0',
    500: '#ac5be8',
    950: '#000000',
  },
}
SCSS
$custom: #ac5be8;
$custom-light: #c98df0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5be8",
  "rgb": {
    "r": 172,
    "g": 91,
    "b": 232
  },
  "hsl": {
    "h": 274.468,
    "s": 75.401,
    "l": 63.333
  },
  "oklch": {
    "l": 0.62904,
    "c": 0.20984,
    "h": 307.9
  },
  "luminance": 0.22079
}

Semantic roles & 50–950 ramp

primary
#AC5BE8
secondary
#CCE9B6
accent
#D80E64
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AC5BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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