#AC5CE7#AC5CE7

#AC5CE7 is a light, highly saturated violet. Relative luminance 0.222; OKLCH L 63.0% C 0.207 H 308.1°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#AC5CE7
RGBrgb(172, 92, 231)
HSLhsl(275, 74%, 63%)
HSVhsv(275, 60%, 91%)
CMYKcmyk(25.5%, 60.2%, 0%, 9.4%)
CIE-LABlab(54.23, 56.54, -57.87)
CIE-LCHlch(54.23, 80.91, 314.33°)
OKLaboklab(62.97% 0.1279 -0.1632)
OKLCHoklch(62.97% 0.207 308.1)
XYZxyz(35.2613, 22.1950, 78.0123)
Luminance0.2219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5CE7 #97E75C
analogous
#665CE7 #AC5CE7 #E75CDD
triadic
#AC5CE7 #E7AC5C #5CE7AC
tetradic
#AC5CE7 #E7665C #97E75C #5CDDE7
square
#AC5CE7 #E7665C #97E75C #5CDDE7
split-complementary
#AC5CE7 #DDE75C #5CE766
monochromatic
#701AAF #9127DF #AC5CE7 #C791EF #E2C7F7

Accessibility & contrast

On white

3.86
#AC5CE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#AC5CE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5CE7
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5CE7#FFFFFF#000000##000000
##AC5CE71.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C7FEB
Deuteranopia (green-blind)
#4683E4
Tritanopia (blue-blind)
#A37799
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ac5ce7;
/* rgb */ color: rgb(172, 92, 231);
/* oklch */ color: oklch(63.0% 0.207 308.1);
Tailwind
colors: {
  custom: {
    50: '#c88eef',
    500: '#ac5ce7',
    950: '#000000',
  },
}
SCSS
$custom: #ac5ce7;
$custom-light: #c88eef;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5ce7",
  "rgb": {
    "r": 172,
    "g": 92,
    "b": 231
  },
  "hsl": {
    "h": 274.532,
    "s": 74.332,
    "l": 63.333
  },
  "oklch": {
    "l": 0.62973,
    "c": 0.20737,
    "h": 308.1
  },
  "luminance": 0.22194
}

Semantic roles & 50–950 ramp

primary
#AC5CE7
secondary
#CCE8B7
accent
#D60F64
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140D16
muted
#827D84

Preview Lab

Preview with #AC5CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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