#AC5BED#AC5BED

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

Color values

HEX#AC5BED
RGBrgb(172, 91, 237)
HSLhsl(273, 80%, 64%)
HSVhsv(273, 62%, 93%)
CMYKcmyk(27.4%, 61.6%, 0%, 7.1%)
CIE-LABlab(54.41, 58.38, -60.94)
CIE-LCHlch(54.41, 84.39, 313.77°)
OKLaboklab(63.22% 0.1289 -0.1723)
OKLCHoklch(63.22% 0.215 306.8)
XYZxyz(36.0372, 22.3676, 82.5233)
Luminance0.2237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5BED #9CED5B
analogous
#635BED #AC5BED #ED5BE5
triadic
#AC5BED #EDAC5B #5BEDAC
tetradic
#AC5BED #ED635B #9CED5B #5BE5ED
square
#AC5BED #ED635B #9CED5B #5BE5ED
split-complementary
#AC5BED #E5ED5B #5BED63
monochromatic
#7014B9 #9024E7 #AC5BED #C892F3 #E4C9F9

Accessibility & contrast

On white

3.84
#AC5BED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#AC5BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5BED
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5BED#FFFFFF#000000##000000
##AC5BED1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF2
Deuteranopia (green-blind)
#3E83EA
Tritanopia (blue-blind)
#A1799C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ac5bed;
/* rgb */ color: rgb(172, 91, 237);
/* oklch */ color: oklch(63.2% 0.215 306.8);
Tailwind
colors: {
  custom: {
    50: '#c98ef4',
    500: '#ac5bed',
    950: '#000000',
  },
}
SCSS
$custom: #ac5bed;
$custom-light: #c98ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5bed",
  "rgb": {
    "r": 172,
    "g": 91,
    "b": 237
  },
  "hsl": {
    "h": 273.288,
    "s": 80.22,
    "l": 64.314
  },
  "oklch": {
    "l": 0.63222,
    "c": 0.21514,
    "h": 306.8
  },
  "luminance": 0.22367
}

Semantic roles & 50–950 ramp

primary
#AC5BED
secondary
#CFEBB9
accent
#DD0967
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#140D17
muted
#827D85

Preview Lab

Preview with #AC5BED

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

Preview Lab → · Contrast checker → · Palette generator →

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