#AC51DE#AC51DE

#AC51DE is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 61.0% C 0.213 H 311.4°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#AC51DE
RGBrgb(172, 81, 222)
HSLhsl(279, 68%, 59%)
HSVhsv(279, 64%, 87%)
CMYKcmyk(22.5%, 63.5%, 0%, 12.9%)
CIE-LABlab(51.76, 59.85, -56.77)
CIE-LCHlch(51.76, 82.49, 316.52°)
OKLaboklab(61.01% 0.141 -0.16)
OKLCHoklch(61.01% 0.213 311.4)
XYZxyz(33.1381, 19.9302, 71.1943)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC51DE #83DE51
analogous
#6551DE #AC51DE #DE51CA
triadic
#AC51DE #DEAC51 #51DEAC
tetradic
#AC51DE #DE6551 #83DE51 #51CADE
square
#AC51DE #DE6551 #83DE51 #51CADE
split-complementary
#AC51DE #CADE51 #51DE65
monochromatic
#6C1D98 #9127CB #AC51DE #C584E8 #DDB8F2

Accessibility & contrast

On white

4.21
#AC51DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#AC51DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC51DE
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC51DE#FFFFFF#000000##000000
##AC51DE1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E2
Deuteranopia (green-blind)
#437DDB
Tritanopia (blue-blind)
#A66D90
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ac51de;
/* rgb */ color: rgb(172, 81, 222);
/* oklch */ color: oklch(61.0% 0.213 311.4);
Tailwind
colors: {
  custom: {
    50: '#c887e9',
    500: '#ac51de',
    950: '#000000',
  },
}
SCSS
$custom: #ac51de;
$custom-light: #c887e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac51de",
  "rgb": {
    "r": 172,
    "g": 81,
    "b": 222
  },
  "hsl": {
    "h": 278.723,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61007,
    "c": 0.21325,
    "h": 311.4
  },
  "luminance": 0.19929
}

Semantic roles & 50–950 ramp

primary
#AC51DE
secondary
#BDE1AA
accent
#EB3D7B
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AC51DE

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

Preview Lab → · Contrast checker → · Palette generator →

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