#AC5BEC#AC5BEC

#AC5BEC is a light, highly saturated violet. Relative luminance 0.223; OKLCH L 63.2% C 0.214 H 307.0°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#AC5BEC
RGBrgb(172, 91, 236)
HSLhsl(274, 79%, 64%)
HSVhsv(274, 61%, 93%)
CMYKcmyk(27.1%, 61.4%, 0%, 7.5%)
CIE-LABlab(54.35, 58.15, -60.48)
CIE-LCHlch(54.35, 83.90, 313.87°)
OKLaboklab(63.16% 0.1289 -0.1709)
OKLCHoklch(63.16% 0.214 307)
XYZxyz(35.8915, 22.3094, 81.7560)
Luminance0.2231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5BEC #9BEC5B
analogous
#645BEC #AC5BEC #EC5BE4
triadic
#AC5BEC #ECAC5B #5BECAC
tetradic
#AC5BEC #EC645B #9BEC5B #5BE4EC
square
#AC5BEC #EC645B #9BEC5B #5BE4EC
split-complementary
#AC5BEC #E4EC5B #5BEC64
monochromatic
#7015B7 #9024E6 #AC5BEC #C892F2 #E4C9F9

Accessibility & contrast

On white

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

On black

5.46
#AC5BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5BEC
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5BEC#FFFFFF#000000##000000
##AC5BEC1.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#047FF1
Deuteranopia (green-blind)
#3F83E9
Tritanopia (blue-blind)
#A2789B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ac5bec;
/* rgb */ color: rgb(172, 91, 236);
/* oklch */ color: oklch(63.2% 0.214 307.0);
Tailwind
colors: {
  custom: {
    50: '#c98df3',
    500: '#ac5bec',
    950: '#000000',
  },
}
SCSS
$custom: #ac5bec;
$custom-light: #c98df3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5bec",
  "rgb": {
    "r": 172,
    "g": 91,
    "b": 236
  },
  "hsl": {
    "h": 273.517,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.63158,
    "c": 0.21408,
    "h": 307
  },
  "luminance": 0.22309
}

Semantic roles & 50–950 ramp

primary
#AC5BEC
secondary
#CEEBB8
accent
#DC0A66
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140D17
muted
#827D85

Preview Lab

Preview with #AC5BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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