#AC5DF7#AC5DF7

#AC5DF7 is a light, highly saturated violet. Relative luminance 0.233; OKLCH L 64.1% C 0.223 H 304.4°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#AC5DF7
RGBrgb(172, 93, 247)
HSLhsl(271, 91%, 67%)
HSVhsv(271, 62%, 97%)
CMYKcmyk(30.4%, 62.3%, 0%, 3.1%)
CIE-LABlab(55.40, 59.67, -64.94)
CIE-LCHlch(55.40, 88.20, 312.58°)
OKLaboklab(64.13% 0.1261 -0.184)
OKLCHoklch(64.13% 0.223 304.4)
XYZxyz(37.7124, 23.3149, 90.4911)
Luminance0.2331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5DF7 #A8F75D
analogous
#5F5DF7 #AC5DF7 #F75DF5
triadic
#AC5DF7 #F7AC5D #5DF7AC
tetradic
#AC5DF7 #F75F5D #A8F75D #5DF5F7
square
#AC5DF7 #F75F5D #A8F75D #5DF5F7
split-complementary
#AC5DF7 #F5F75D #5DF75F
monochromatic
#6F0ACF #8E23F4 #AC5DF7 #CA97FA #E8D2FD

Accessibility & contrast

On white

3.71
#AC5DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#AC5DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5DF7
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5DF7#FFFFFF#000000##000000
##AC5DF71.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FC
Deuteranopia (green-blind)
#3385F4
Tritanopia (blue-blind)
#9E7DA2
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ac5df7;
/* rgb */ color: rgb(172, 93, 247);
/* oklch */ color: oklch(64.1% 0.223 304.4);
Tailwind
colors: {
  custom: {
    50: '#c98ffb',
    500: '#ac5df7',
    950: '#000000',
  },
}
SCSS
$custom: #ac5df7;
$custom-light: #c98ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5df7",
  "rgb": {
    "r": 172,
    "g": 93,
    "b": 247
  },
  "hsl": {
    "h": 270.779,
    "s": 90.588,
    "l": 66.667
  },
  "oklch": {
    "l": 0.6413,
    "c": 0.22308,
    "h": 304.4
  },
  "luminance": 0.23315
}

Semantic roles & 50–950 ramp

primary
#AC5DF7
secondary
#D7F1BF
accent
#E60070
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AC5DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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