#AC5BE7#AC5BE7

#AC5BE7 is a light, highly saturated violet. Relative luminance 0.220; OKLCH L 62.8% C 0.209 H 308.2°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#AC5BE7
RGBrgb(172, 91, 231)
HSLhsl(275, 74%, 63%)
HSVhsv(275, 61%, 91%)
CMYKcmyk(25.5%, 60.6%, 0%, 9.4%)
CIE-LABlab(54.05, 57.03, -58.16)
CIE-LCHlch(54.05, 81.46, 314.44°)
OKLaboklab(62.84% 0.1291 -0.1641)
OKLCHoklch(62.84% 0.209 308.2)
XYZxyz(35.1752, 22.0229, 77.9836)
Luminance0.2202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5BE7 #96E75B
analogous
#665BE7 #AC5BE7 #E75BDC
triadic
#AC5BE7 #E7AC5B #5BE7AC
tetradic
#AC5BE7 #E7665B #96E75B #5BDCE7
square
#AC5BE7 #E7665B #96E75B #5BDCE7
split-complementary
#AC5BE7 #DCE75B #5BE766
monochromatic
#6F19AE #9126DF #AC5BE7 #C790EF #E2C6F7

Accessibility & contrast

On white

3.89
#AC5BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#AC5BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5BE7
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5BE7#FFFFFF#000000##000000
##AC5BE71.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#187EEB
Deuteranopia (green-blind)
#4582E4
Tritanopia (blue-blind)
#A37799
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ac5be7;
/* rgb */ color: rgb(172, 91, 231);
/* oklch */ color: oklch(62.8% 0.209 308.2);
Tailwind
colors: {
  custom: {
    50: '#c88def',
    500: '#ac5be7',
    950: '#000000',
  },
}
SCSS
$custom: #ac5be7;
$custom-light: #c88def;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5be7",
  "rgb": {
    "r": 172,
    "g": 91,
    "b": 231
  },
  "hsl": {
    "h": 274.714,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.62841,
    "c": 0.20878,
    "h": 308.2
  },
  "luminance": 0.22022
}

Semantic roles & 50–950 ramp

primary
#AC5BE7
secondary
#CBE8B6
accent
#D70F63
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AC5BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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