#AC5BEF#AC5BEF

#AC5BEF is a light, highly saturated violet. Relative luminance 0.225; OKLCH L 63.3% C 0.217 H 306.4°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#AC5BEF
RGBrgb(172, 91, 239)
HSLhsl(273, 82%, 65%)
HSVhsv(273, 62%, 94%)
CMYKcmyk(28%, 61.9%, 0%, 6.3%)
CIE-LABlab(54.54, 58.83, -61.86)
CIE-LCHlch(54.54, 85.37, 313.56°)
OKLaboklab(63.35% 0.1288 -0.175)
OKLCHoklch(63.35% 0.217 306.4)
XYZxyz(36.3310, 22.4852, 84.0707)
Luminance0.2248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5BEF #9EEF5B
analogous
#625BEF #AC5BEF #EF5BE8
triadic
#AC5BEF #EFAC5B #5BEFAC
tetradic
#AC5BEF #EF625B #9EEF5B #5BE8EF
square
#AC5BEF #EF625B #9EEF5B #5BE8EF
split-complementary
#AC5BEF #E8EF5B #5BEF62
monochromatic
#7012BD #9023EA #AC5BEF #C893F4 #E4CBFA

Accessibility & contrast

On white

3.82
#AC5BEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#AC5BEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5BEF
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5BEF#FFFFFF#000000##000000
##AC5BEF1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F4
Deuteranopia (green-blind)
#3C83EC
Tritanopia (blue-blind)
#A1799D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ac5bef;
/* rgb */ color: rgb(172, 91, 239);
/* oklch */ color: oklch(63.3% 0.217 306.4);
Tailwind
colors: {
  custom: {
    50: '#c98ef5',
    500: '#ac5bef',
    950: '#000000',
  },
}
SCSS
$custom: #ac5bef;
$custom-light: #c98ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5bef",
  "rgb": {
    "r": 172,
    "g": 91,
    "b": 239
  },
  "hsl": {
    "h": 272.838,
    "s": 82.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.6335,
    "c": 0.21725,
    "h": 306.4
  },
  "luminance": 0.22485
}

Semantic roles & 50–950 ramp

primary
#AC5BEF
secondary
#D0ECBA
accent
#DF0769
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#140D17
muted
#827D85

Preview Lab

Preview with #AC5BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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