#AC5BEA#AC5BEA

#AC5BEA is a light, highly saturated violet. Relative luminance 0.222; OKLCH L 63.0% C 0.212 H 307.5°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#AC5BEA
RGBrgb(172, 91, 234)
HSLhsl(274, 77%, 64%)
HSVhsv(274, 61%, 92%)
CMYKcmyk(26.5%, 61.1%, 0%, 8.2%)
CIE-LABlab(54.23, 57.70, -59.56)
CIE-LCHlch(54.23, 82.93, 314.09°)
OKLaboklab(63.03% 0.129 -0.1682)
OKLCHoklch(63.03% 0.212 307.5)
XYZxyz(35.6026, 22.1938, 80.2342)
Luminance0.2219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5BEA #99EA5B
analogous
#645BEA #AC5BEA #EA5BE0
triadic
#AC5BEA #EAAC5B #5BEAAC
tetradic
#AC5BEA #EA645B #99EA5B #5BE0EA
square
#AC5BEA #EA645B #99EA5B #5BE0EA
split-complementary
#AC5BEA #E0EA5B #5BEA64
monochromatic
#7017B4 #9125E3 #AC5BEA #C791F1 #E3C8F8

Accessibility & contrast

On white

3.86
#AC5BEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#AC5BEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5BEA
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5BEA#FFFFFF#000000##000000
##AC5BEA1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E7FEE
Deuteranopia (green-blind)
#4282E7
Tritanopia (blue-blind)
#A2789A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ac5bea;
/* rgb */ color: rgb(172, 91, 234);
/* oklch */ color: oklch(63.0% 0.212 307.5);
Tailwind
colors: {
  custom: {
    50: '#c98df1',
    500: '#ac5bea',
    950: '#000000',
  },
}
SCSS
$custom: #ac5bea;
$custom-light: #c98df1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5bea",
  "rgb": {
    "r": 172,
    "g": 91,
    "b": 234
  },
  "hsl": {
    "h": 273.986,
    "s": 77.297,
    "l": 63.725
  },
  "oklch": {
    "l": 0.6303,
    "c": 0.21196,
    "h": 307.5
  },
  "luminance": 0.22193
}

Semantic roles & 50–950 ramp

primary
#AC5BEA
secondary
#CDEAB7
accent
#DA0C65
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140D17
muted
#827D85

Preview Lab

Preview with #AC5BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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