#AC5BF1#AC5BF1

#AC5BF1 is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 63.5% C 0.219 H 305.9°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#AC5BF1
RGBrgb(172, 91, 241)
HSLhsl(272, 84%, 65%)
HSVhsv(272, 62%, 95%)
CMYKcmyk(28.6%, 62.2%, 0%, 5.5%)
CIE-LABlab(54.66, 59.28, -62.78)
CIE-LCHlch(54.66, 86.34, 313.36°)
OKLaboklab(63.48% 0.1287 -0.1777)
OKLCHoklch(63.48% 0.219 305.9)
XYZxyz(36.6281, 22.6040, 85.6354)
Luminance0.2260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5BF1 #A0F15B
analogous
#615BF1 #AC5BF1 #F15BEB
triadic
#AC5BF1 #F1AC5B #5BF1AC
tetradic
#AC5BF1 #F1615B #A0F15B #5BEBF1
square
#AC5BF1 #F1615B #A0F15B #5BEBF1
split-complementary
#AC5BF1 #EBF15B #5BF161
monochromatic
#7010C1 #8F23EC #AC5BF1 #C993F6 #E5CCFB

Accessibility & contrast

On white

3.80
#AC5BF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#AC5BF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5BF1
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5BF1#FFFFFF#000000##000000
##AC5BF11.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F6
Deuteranopia (green-blind)
#3983EE
Tritanopia (blue-blind)
#A07A9E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ac5bf1;
/* rgb */ color: rgb(172, 91, 241);
/* oklch */ color: oklch(63.5% 0.219 305.9);
Tailwind
colors: {
  custom: {
    50: '#c98ef6',
    500: '#ac5bf1',
    950: '#000000',
  },
}
SCSS
$custom: #ac5bf1;
$custom-light: #c98ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5bf1",
  "rgb": {
    "r": 172,
    "g": 91,
    "b": 241
  },
  "hsl": {
    "h": 272.4,
    "s": 84.27,
    "l": 65.098
  },
  "oklch": {
    "l": 0.6348,
    "c": 0.21938,
    "h": 305.9
  },
  "luminance": 0.22604
}

Semantic roles & 50–950 ramp

primary
#AC5BF1
secondary
#D2EDBA
accent
#E1056A
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140D17
muted
#827D85

Preview Lab

Preview with #AC5BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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