#AC5BF4#AC5BF4

#AC5BF4 is a light, highly saturated violet. Relative luminance 0.228; OKLCH L 63.7% C 0.223 H 305.3°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#AC5BF4
RGBrgb(172, 91, 244)
HSLhsl(272, 87%, 66%)
HSVhsv(272, 63%, 96%)
CMYKcmyk(29.5%, 62.7%, 0%, 4.3%)
CIE-LABlab(54.85, 59.96, -64.15)
CIE-LCHlch(54.85, 87.81, 313.06°)
OKLaboklab(63.68% 0.1285 -0.1817)
OKLCHoklch(63.68% 0.223 305.3)
XYZxyz(37.0799, 22.7847, 88.0149)
Luminance0.2278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5BF4 #A3F45B
analogous
#5F5BF4 #AC5BF4 #F45BEF
triadic
#AC5BF4 #F4AC5B #5BF4AC
tetradic
#AC5BF4 #F45F5B #A3F45B #5BEFF4
square
#AC5BF4 #F45F5B #A3F45B #5BEFF4
split-complementary
#AC5BF4 #EFF45B #5BF45F
monochromatic
#700DC7 #8F22F0 #AC5BF4 #C994F8 #E6CEFC

Accessibility & contrast

On white

3.78
#AC5BF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#AC5BF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5BF4
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5BF4#FFFFFF#000000##000000
##AC5BF41.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F9
Deuteranopia (green-blind)
#3583F1
Tritanopia (blue-blind)
#9F7BA0
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ac5bf4;
/* rgb */ color: rgb(172, 91, 244);
/* oklch */ color: oklch(63.7% 0.223 305.3);
Tailwind
colors: {
  custom: {
    50: '#c98ef9',
    500: '#ac5bf4',
    950: '#000000',
  },
}
SCSS
$custom: #ac5bf4;
$custom-light: #c98ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5bf4",
  "rgb": {
    "r": 172,
    "g": 91,
    "b": 244
  },
  "hsl": {
    "h": 271.765,
    "s": 87.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.63675,
    "c": 0.22255,
    "h": 305.3
  },
  "luminance": 0.22784
}

Semantic roles & 50–950 ramp

primary
#AC5BF4
secondary
#D4EFBC
accent
#E4026C
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140D17
muted
#827D85

Preview Lab

Preview with #AC5BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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