#AC5DE7#AC5DE7

#AC5DE7 is a light, highly saturated violet. Relative luminance 0.224; OKLCH L 63.1% C 0.206 H 308.0°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#AC5DE7
RGBrgb(172, 93, 231)
HSLhsl(274, 74%, 64%)
HSVhsv(274, 60%, 91%)
CMYKcmyk(25.5%, 59.7%, 0%, 9.4%)
CIE-LABlab(54.42, 56.05, -57.58)
CIE-LCHlch(54.42, 80.35, 314.23°)
OKLaboklab(63.11% 0.1267 -0.1624)
OKLCHoklch(63.11% 0.206 308)
XYZxyz(35.3485, 22.3694, 78.0414)
Luminance0.2237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5DE7 #98E75D
analogous
#675DE7 #AC5DE7 #E75DDD
triadic
#AC5DE7 #E7AC5D #5DE7AC
tetradic
#AC5DE7 #E7675D #98E75D #5DDDE7
square
#AC5DE7 #E7675D #98E75D #5DDDE7
split-complementary
#AC5DE7 #DDE75D #5DE767
monochromatic
#701AB0 #9128DF #AC5DE7 #C792EF #E3C8F7

Accessibility & contrast

On white

3.84
#AC5DE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#AC5DE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5DE7
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5DE7#FFFFFF#000000##000000
##AC5DE71.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#207FEB
Deuteranopia (green-blind)
#4783E4
Tritanopia (blue-blind)
#A37899
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ac5de7;
/* rgb */ color: rgb(172, 93, 231);
/* oklch */ color: oklch(63.1% 0.206 308.0);
Tailwind
colors: {
  custom: {
    50: '#c88fef',
    500: '#ac5de7',
    950: '#000000',
  },
}
SCSS
$custom: #ac5de7;
$custom-light: #c88fef;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5de7",
  "rgb": {
    "r": 172,
    "g": 93,
    "b": 231
  },
  "hsl": {
    "h": 274.348,
    "s": 74.194,
    "l": 63.529
  },
  "oklch": {
    "l": 0.63107,
    "c": 0.20597,
    "h": 308
  },
  "luminance": 0.22369
}

Semantic roles & 50–950 ramp

primary
#AC5DE7
secondary
#CCE8B7
accent
#D60F64
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #AC5DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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