#AC5CF5#AC5CF5

#AC5CF5 is a light, highly saturated violet. Relative luminance 0.230; OKLCH L 63.9% C 0.222 H 305.0°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#AC5CF5
RGBrgb(172, 92, 245)
HSLhsl(271, 88%, 66%)
HSVhsv(271, 62%, 96%)
CMYKcmyk(29.8%, 62.4%, 0%, 3.9%)
CIE-LABlab(55.09, 59.70, -64.32)
CIE-LCHlch(55.09, 87.76, 312.87°)
OKLaboklab(63.87% 0.1274 -0.1822)
OKLCHoklch(63.87% 0.222 305)
XYZxyz(37.3182, 23.0177, 88.8454)
Luminance0.2302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5CF5 #A5F55C
analogous
#5F5CF5 #AC5CF5 #F55CF1
triadic
#AC5CF5 #F5AC5C #5CF5AC
tetradic
#AC5CF5 #F55F5C #A5F55C #5CF1F5
square
#AC5CF5 #F55F5C #A5F55C #5CF1F5
split-complementary
#AC5CF5 #F1F55C #5CF55F
monochromatic
#700CCA #8F22F1 #AC5CF5 #C996F9 #E7CFFC

Accessibility & contrast

On white

3.75
#AC5CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#AC5CF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5CF5
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5CF5#FFFFFF#000000##000000
##AC5CF51.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FA
Deuteranopia (green-blind)
#3584F2
Tritanopia (blue-blind)
#9F7CA0
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ac5cf5;
/* rgb */ color: rgb(172, 92, 245);
/* oklch */ color: oklch(63.9% 0.222 305.0);
Tailwind
colors: {
  custom: {
    50: '#c98ef9',
    500: '#ac5cf5',
    950: '#000000',
  },
}
SCSS
$custom: #ac5cf5;
$custom-light: #c98ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5cf5",
  "rgb": {
    "r": 172,
    "g": 92,
    "b": 245
  },
  "hsl": {
    "h": 271.373,
    "s": 88.439,
    "l": 66.078
  },
  "oklch": {
    "l": 0.63869,
    "c": 0.22228,
    "h": 305
  },
  "luminance": 0.23018
}

Semantic roles & 50–950 ramp

primary
#AC5CF5
secondary
#D5F0BD
accent
#E5006E
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AC5CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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