#AC57DB#AC57DB

#AC57DB is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.6% C 0.202 H 311.6°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#AC57DB
RGBrgb(172, 87, 219)
HSLhsl(279, 65%, 60%)
HSVhsv(279, 60%, 86%)
CMYKcmyk(21.5%, 60.3%, 0%, 14.1%)
CIE-LABlab(52.62, 56.36, -53.68)
CIE-LCHlch(52.62, 77.84, 316.40°)
OKLaboklab(61.58% 0.134 -0.151)
OKLCHoklch(61.58% 0.202 311.6)
XYZxyz(33.2053, 20.7023, 69.2508)
Luminance0.2070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC57DB #86DB57
analogous
#6A57DB #AC57DB #DB57C8
triadic
#AC57DB #DBAC57 #57DBAC
tetradic
#AC57DB #DB6A57 #86DB57 #57C8DB
square
#AC57DB #DB6A57 #86DB57 #57C8DB
split-complementary
#AC57DB #C8DB57 #57DB6A
monochromatic
#6D2097 #912BCA #AC57DB #C589E6 #DEBCF1

Accessibility & contrast

On white

4.09
#AC57DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#AC57DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC57DB
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC57DB#FFFFFF#000000##000000
##AC57DB1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2479DF
Deuteranopia (green-blind)
#4C7FD8
Tritanopia (blue-blind)
#A77091
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ac57db;
/* rgb */ color: rgb(172, 87, 219);
/* oklch */ color: oklch(61.6% 0.202 311.6);
Tailwind
colors: {
  custom: {
    50: '#c88be7',
    500: '#ac57db',
    950: '#000000',
  },
}
SCSS
$custom: #ac57db;
$custom-light: #c88be7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac57db",
  "rgb": {
    "r": 172,
    "g": 87,
    "b": 219
  },
  "hsl": {
    "h": 278.636,
    "s": 64.706,
    "l": 60
  },
  "oklch": {
    "l": 0.61575,
    "c": 0.20187,
    "h": 311.6
  },
  "luminance": 0.20702
}

Semantic roles & 50–950 ramp

primary
#AC57DB
secondary
#C0E0AD
accent
#E8407C
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AC57DB

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

Preview Lab → · Contrast checker → · Palette generator →

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