#AC5DEF#AC5DEF

#AC5DEF is a light, highly saturated violet. Relative luminance 0.228; OKLCH L 63.6% C 0.215 H 306.1°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#AC5DEF
RGBrgb(172, 93, 239)
HSLhsl(272, 82%, 65%)
HSVhsv(272, 61%, 94%)
CMYKcmyk(28%, 61.1%, 0%, 6.3%)
CIE-LABlab(54.90, 57.85, -61.28)
CIE-LCHlch(54.90, 84.27, 313.35°)
OKLaboklab(63.61% 0.1265 -0.1733)
OKLCHoklch(63.61% 0.215 306.1)
XYZxyz(36.5043, 22.8317, 84.1285)
Luminance0.2283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5DEF #A0EF5D
analogous
#635DEF #AC5DEF #EF5DE9
triadic
#AC5DEF #EFAC5D #5DEFAC
tetradic
#AC5DEF #EF635D #A0EF5D #5DE9EF
square
#AC5DEF #EF635D #A0EF5D #5DE9EF
split-complementary
#AC5DEF #E9EF5D #5DEF63
monochromatic
#7013BF #8F25E9 #AC5DEF #C995F5 #E5CCFA

Accessibility & contrast

On white

3.77
#AC5DEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#AC5DEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5DEF
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5DEF#FFFFFF#000000##000000
##AC5DEF1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0481F4
Deuteranopia (green-blind)
#3F84EC
Tritanopia (blue-blind)
#A17B9E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ac5def;
/* rgb */ color: rgb(172, 93, 239);
/* oklch */ color: oklch(63.6% 0.215 306.1);
Tailwind
colors: {
  custom: {
    50: '#c98ff5',
    500: '#ac5def',
    950: '#000000',
  },
}
SCSS
$custom: #ac5def;
$custom-light: #c98ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5def",
  "rgb": {
    "r": 172,
    "g": 93,
    "b": 239
  },
  "hsl": {
    "h": 272.466,
    "s": 82.022,
    "l": 65.098
  },
  "oklch": {
    "l": 0.63611,
    "c": 0.21453,
    "h": 306.1
  },
  "luminance": 0.22831
}

Semantic roles & 50–950 ramp

primary
#AC5DEF
secondary
#D2EDBB
accent
#DE076A
background
#FCF9FF
surface
#F9F1FE
border
#D2CBD6
text
#140D17
muted
#827E85

Preview Lab

Preview with #AC5DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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