#AC5BF8#AC5BF8

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

Color values

HEX#AC5BF8
RGBrgb(172, 91, 248)
HSLhsl(271, 92%, 66%)
HSVhsv(271, 63%, 97%)
CMYKcmyk(30.6%, 63.3%, 0%, 2.7%)
CIE-LABlab(55.10, 60.87, -65.97)
CIE-LCHlch(55.10, 89.76, 312.70°)
OKLaboklab(63.94% 0.1283 -0.187)
OKLCHoklch(63.94% 0.227 304.4)
XYZxyz(37.6938, 23.0303, 91.2482)
Luminance0.2303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5BF8 #A7F85B
analogous
#5E5BF8 #AC5BF8 #F85BF6
triadic
#AC5BF8 #F8AC5B #5BF8AC
tetradic
#AC5BF8 #F85E5B #A7F85B #5BF6F8
square
#AC5BF8 #F85E5B #A7F85B #5BF6F8
split-complementary
#AC5BF8 #F6F85B #5BF85E
monochromatic
#6F09D0 #8E20F5 #AC5BF8 #CA96FB #E7D0FD

Accessibility & contrast

On white

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

On black

5.61
#AC5BF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5BF8
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5BF8#FFFFFF#000000##000000
##AC5BF81.003.755.615.61
#FFFFFF3.751.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FD
Deuteranopia (green-blind)
#2E84F5
Tritanopia (blue-blind)
#9E7DA2
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ac5bf8;
/* rgb */ color: rgb(172, 91, 248);
/* oklch */ color: oklch(63.9% 0.227 304.4);
Tailwind
colors: {
  custom: {
    50: '#c98efb',
    500: '#ac5bf8',
    950: '#000000',
  },
}
SCSS
$custom: #ac5bf8;
$custom-light: #c98efb;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5bf8",
  "rgb": {
    "r": 172,
    "g": 91,
    "b": 248
  },
  "hsl": {
    "h": 270.955,
    "s": 91.813,
    "l": 66.471
  },
  "oklch": {
    "l": 0.63939,
    "c": 0.22678,
    "h": 304.4
  },
  "luminance": 0.2303
}

Semantic roles & 50–950 ramp

primary
#AC5BF8
secondary
#D7F1BE
accent
#E6006F
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140D17
muted
#827D85

Preview Lab

Preview with #AC5BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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