#AC5BDB#AC5BDB

#AC5BDB is a light, vivid violet. Relative luminance 0.214; OKLCH L 62.1% C 0.196 H 311.2°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#AC5BDB
RGBrgb(172, 91, 219)
HSLhsl(278, 64%, 61%)
HSVhsv(278, 58%, 86%)
CMYKcmyk(21.5%, 58.4%, 0%, 14.1%)
CIE-LABlab(53.35, 54.40, -52.52)
CIE-LCHlch(53.35, 75.61, 316.01°)
OKLaboklab(62.11% 0.1291 -0.1476)
OKLCHoklch(62.11% 0.196 311.2)
XYZxyz(33.5382, 21.3680, 69.3618)
Luminance0.2137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5BDB #8ADB5B
analogous
#6C5BDB #AC5BDB #DB5BCA
triadic
#AC5BDB #DBAC5B #5BDBAC
tetradic
#AC5BDB #DB6C5B #8ADB5B #5BCADB
square
#AC5BDB #DB6C5B #8ADB5B #5BCADB
split-complementary
#AC5BDB #CADB5B #5BDB6C
monochromatic
#6E229A #922DCC #AC5BDB #C58DE6 #DFBFF1

Accessibility & contrast

On white

3.98
#AC5BDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#AC5BDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5BDB
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5BDB#FFFFFF#000000##000000
##AC5BDB1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E7BDF
Deuteranopia (green-blind)
#5081D8
Tritanopia (blue-blind)
#A67292
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ac5bdb;
/* rgb */ color: rgb(172, 91, 219);
/* oklch */ color: oklch(62.1% 0.196 311.2);
Tailwind
colors: {
  custom: {
    50: '#c88de7',
    500: '#ac5bdb',
    950: '#000000',
  },
}
SCSS
$custom: #ac5bdb;
$custom-light: #c88de7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5bdb",
  "rgb": {
    "r": 172,
    "g": 91,
    "b": 219
  },
  "hsl": {
    "h": 277.969,
    "s": 64,
    "l": 60.784
  },
  "oklch": {
    "l": 0.62105,
    "c": 0.19608,
    "h": 311.2
  },
  "luminance": 0.21367
}

Semantic roles & 50–950 ramp

primary
#AC5BDB
secondary
#C2E1B1
accent
#CC1A5B
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AC5BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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