#AC5CF7#AC5CF7

#AC5CF7 is a light, highly saturated violet. Relative luminance 0.231; OKLCH L 64.0% C 0.224 H 304.5°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#AC5CF7
RGBrgb(172, 92, 247)
HSLhsl(271, 91%, 66%)
HSVhsv(271, 63%, 97%)
CMYKcmyk(30.4%, 62.8%, 0%, 3.1%)
CIE-LABlab(55.22, 60.16, -65.23)
CIE-LCHlch(55.22, 88.74, 312.68°)
OKLaboklab(64% 0.1272 -0.1848)
OKLCHoklch(64% 0.224 304.5)
XYZxyz(37.6252, 23.1405, 90.4621)
Luminance0.2314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5CF7 #A7F75C
analogous
#5F5CF7 #AC5CF7 #F75CF4
triadic
#AC5CF7 #F7AC5C #5CF7AC
tetradic
#AC5CF7 #F75F5C #A7F75C #5CF4F7
square
#AC5CF7 #F75F5C #A7F75C #5CF4F7
split-complementary
#AC5CF7 #F4F75C #5CF75F
monochromatic
#6F0ACE #8E22F4 #AC5CF7 #CA96FA #E7D1FD

Accessibility & contrast

On white

3.73
#AC5CF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#AC5CF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5CF7
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5CF7#FFFFFF#000000##000000
##AC5CF71.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FC
Deuteranopia (green-blind)
#3284F4
Tritanopia (blue-blind)
#9E7DA1
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ac5cf7;
/* rgb */ color: rgb(172, 92, 247);
/* oklch */ color: oklch(64.0% 0.224 304.5);
Tailwind
colors: {
  custom: {
    50: '#c98efb',
    500: '#ac5cf7',
    950: '#000000',
  },
}
SCSS
$custom: #ac5cf7;
$custom-light: #c98efb;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5cf7",
  "rgb": {
    "r": 172,
    "g": 92,
    "b": 247
  },
  "hsl": {
    "h": 270.968,
    "s": 90.643,
    "l": 66.471
  },
  "oklch": {
    "l": 0.64001,
    "c": 0.2244,
    "h": 304.5
  },
  "luminance": 0.2314
}

Semantic roles & 50–950 ramp

primary
#AC5CF7
secondary
#D7F1BE
accent
#E6006F
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AC5CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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