#AC5FFB#AC5FFB

#AC5FFB is a light, highly saturated violet. Relative luminance 0.239; OKLCH L 64.7% C 0.225 H 303.4°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#AC5FFB
RGBrgb(172, 95, 251)
HSLhsl(270, 95%, 68%)
HSVhsv(270, 62%, 98%)
CMYKcmyk(31.5%, 62.2%, 0%, 1.6%)
CIE-LABlab(56.01, 59.62, -66.18)
CIE-LCHlch(56.01, 89.07, 312.02°)
OKLaboklab(64.65% 0.1236 -0.1876)
OKLCHoklch(64.65% 0.225 303.4)
XYZxyz(38.5141, 23.9202, 93.8361)
Luminance0.2392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5FFB #AEFB5F
analogous
#5F60FB #AC5FFB #FA5FFB
triadic
#AC5FFB #FBAC5F #5FFBAC
tetradic
#AC5FFB #FB5F60 #AEFB5F #5FFBFA
square
#AC5FFB #FB5F60 #AEFB5F #5FFBFA
split-complementary
#AC5FFB #FBFA5F #60FB5F
monochromatic
#6E05DA #8D23FA #AC5FFB #CB9BFC #EAD6FE

Accessibility & contrast

On white

3.63
#AC5FFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#AC5FFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5FFB
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5FFB#FFFFFF#000000##000000
##AC5FFB1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#3086F8
Tritanopia (blue-blind)
#9D80A5
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ac5ffb;
/* rgb */ color: rgb(172, 95, 251);
/* oklch */ color: oklch(64.7% 0.225 303.4);
Tailwind
colors: {
  custom: {
    50: '#c990fd',
    500: '#ac5ffb',
    950: '#000000',
  },
}
SCSS
$custom: #ac5ffb;
$custom-light: #c990fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5ffb",
  "rgb": {
    "r": 172,
    "g": 95,
    "b": 251
  },
  "hsl": {
    "h": 269.615,
    "s": 95.122,
    "l": 67.843
  },
  "oklch": {
    "l": 0.64654,
    "c": 0.22471,
    "h": 303.4
  },
  "luminance": 0.2392
}

Semantic roles & 50–950 ramp

primary
#AC5FFB
secondary
#DBF3C3
accent
#E60074
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D18
muted
#827E86

Preview Lab

Preview with #AC5FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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