#AC5FF8#AC5FF8

#AC5FF8 is a light, highly saturated violet. Relative luminance 0.237; OKLCH L 64.5% C 0.221 H 304.0°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#AC5FF8
RGBrgb(172, 95, 248)
HSLhsl(270, 92%, 67%)
HSVhsv(270, 62%, 97%)
CMYKcmyk(30.6%, 61.7%, 0%, 2.7%)
CIE-LABlab(55.82, 58.92, -64.82)
CIE-LCHlch(55.82, 87.60, 312.27°)
OKLaboklab(64.46% 0.1238 -0.1836)
OKLCHoklch(64.46% 0.221 304)
XYZxyz(38.0449, 23.7325, 91.3653)
Luminance0.2373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5FF8 #ABF85F
analogous
#605FF8 #AC5FF8 #F85FF8
triadic
#AC5FF8 #F8AC5F #5FF8AC
tetradic
#AC5FF8 #F8605F #ABF85F #5FF8F8
square
#AC5FF8 #F8605F #ABF85F #5FF8F8
split-complementary
#AC5FF8 #F8F85F #5FF860
monochromatic
#6F09D3 #8E24F5 #AC5FF8 #CA9AFB #E9D4FD

Accessibility & contrast

On white

3.65
#AC5FF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#AC5FF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5FF8
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5FF8#FFFFFF#000000##000000
##AC5FF81.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FD
Deuteranopia (green-blind)
#3586F5
Tritanopia (blue-blind)
#9E7FA3
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ac5ff8;
/* rgb */ color: rgb(172, 95, 248);
/* oklch */ color: oklch(64.5% 0.221 304.0);
Tailwind
colors: {
  custom: {
    50: '#c990fb',
    500: '#ac5ff8',
    950: '#000000',
  },
}
SCSS
$custom: #ac5ff8;
$custom-light: #c990fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5ff8",
  "rgb": {
    "r": 172,
    "g": 95,
    "b": 248
  },
  "hsl": {
    "h": 270.196,
    "s": 91.617,
    "l": 67.255
  },
  "oklch": {
    "l": 0.64457,
    "c": 0.22148,
    "h": 304
  },
  "luminance": 0.23732
}

Semantic roles & 50–950 ramp

primary
#AC5FF8
secondary
#D9F2C1
accent
#E60072
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AC5FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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