#AC5CE9#AC5CE9

#AC5CE9 is a light, highly saturated violet. Relative luminance 0.223; OKLCH L 63.1% C 0.210 H 307.6°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#AC5CE9
RGBrgb(172, 92, 233)
HSLhsl(274, 76%, 64%)
HSVhsv(274, 61%, 91%)
CMYKcmyk(26.2%, 60.5%, 0%, 8.6%)
CIE-LABlab(54.35, 56.99, -58.80)
CIE-LCHlch(54.35, 81.89, 314.10°)
OKLaboklab(63.1% 0.1278 -0.166)
OKLCHoklch(63.1% 0.21 307.6)
XYZxyz(35.5454, 22.3086, 79.5084)
Luminance0.2231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5CE9 #99E95C
analogous
#655CE9 #AC5CE9 #E95CDF
triadic
#AC5CE9 #E9AC5C #5CE9AC
tetradic
#AC5CE9 #E9655C #99E95C #5CDFE9
square
#AC5CE9 #E9655C #99E95C #5CDFE9
split-complementary
#AC5CE9 #DFE95C #5CE965
monochromatic
#7018B3 #9126E2 #AC5CE9 #C792F0 #E3C8F8

Accessibility & contrast

On white

3.85
#AC5CE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#AC5CE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5CE9
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5CE9#FFFFFF#000000##000000
##AC5CE91.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#177FED
Deuteranopia (green-blind)
#4483E6
Tritanopia (blue-blind)
#A3789A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ac5ce9;
/* rgb */ color: rgb(172, 92, 233);
/* oklch */ color: oklch(63.1% 0.210 307.6);
Tailwind
colors: {
  custom: {
    50: '#c98ef1',
    500: '#ac5ce9',
    950: '#000000',
  },
}
SCSS
$custom: #ac5ce9;
$custom-light: #c98ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5ce9",
  "rgb": {
    "r": 172,
    "g": 92,
    "b": 233
  },
  "hsl": {
    "h": 274.043,
    "s": 76.216,
    "l": 63.725
  },
  "oklch": {
    "l": 0.63099,
    "c": 0.20951,
    "h": 307.6
  },
  "luminance": 0.22308
}

Semantic roles & 50–950 ramp

primary
#AC5CE9
secondary
#CDE9B8
accent
#D80D65
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140D17
muted
#827D85

Preview Lab

Preview with #AC5CE9

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

Preview Lab → · Contrast checker → · Palette generator →

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