#AC5CEB#AC5CEB

#AC5CEB is a light, highly saturated violet. Relative luminance 0.224; OKLCH L 63.2% C 0.212 H 307.1°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#AC5CEB
RGBrgb(172, 92, 235)
HSLhsl(274, 78%, 64%)
HSVhsv(274, 61%, 92%)
CMYKcmyk(26.8%, 60.9%, 0%, 7.8%)
CIE-LABlab(54.47, 57.44, -59.73)
CIE-LCHlch(54.47, 82.87, 313.88°)
OKLaboklab(63.22% 0.1278 -0.1687)
OKLCHoklch(63.22% 0.212 307.1)
XYZxyz(35.8327, 22.4235, 81.0216)
Luminance0.2242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5CEB #9BEB5C
analogous
#655CEB #AC5CEB #EB5CE3
triadic
#AC5CEB #EBAC5C #5CEBAC
tetradic
#AC5CEB #EB655C #9BEB5C #5CE3EB
square
#AC5CEB #EB655C #9BEB5C #5CE3EB
split-complementary
#AC5CEB #E3EB5C #5CEB65
monochromatic
#7016B6 #9025E4 #AC5CEB #C893F2 #E4C9F8

Accessibility & contrast

On white

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

On black

5.48
#AC5CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5CEB
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5CEB#FFFFFF#000000##000000
##AC5CEB1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#107FEF
Deuteranopia (green-blind)
#4283E8
Tritanopia (blue-blind)
#A2799B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ac5ceb;
/* rgb */ color: rgb(172, 92, 235);
/* oklch */ color: oklch(63.2% 0.212 307.1);
Tailwind
colors: {
  custom: {
    50: '#c98ef2',
    500: '#ac5ceb',
    950: '#000000',
  },
}
SCSS
$custom: #ac5ceb;
$custom-light: #c98ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5ceb",
  "rgb": {
    "r": 172,
    "g": 92,
    "b": 235
  },
  "hsl": {
    "h": 273.566,
    "s": 78.142,
    "l": 64.118
  },
  "oklch": {
    "l": 0.63225,
    "c": 0.21163,
    "h": 307.1
  },
  "luminance": 0.22423
}

Semantic roles & 50–950 ramp

primary
#AC5CEB
secondary
#CEEAB8
accent
#DA0B66
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140D17
muted
#827D85

Preview Lab

Preview with #AC5CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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