#AC5BE9#AC5BE9

#AC5BE9 is a light, highly saturated violet. Relative luminance 0.221; OKLCH L 63.0% C 0.211 H 307.7°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#AC5BE9
RGBrgb(172, 91, 233)
HSLhsl(274, 76%, 64%)
HSVhsv(274, 61%, 91%)
CMYKcmyk(26.2%, 60.9%, 0%, 8.6%)
CIE-LABlab(54.17, 57.48, -59.09)
CIE-LCHlch(54.17, 82.44, 314.21°)
OKLaboklab(62.97% 0.129 -0.1668)
OKLCHoklch(62.97% 0.211 307.7)
XYZxyz(35.4593, 22.1365, 79.4798)
Luminance0.2214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5BE9 #98E95B
analogous
#655BE9 #AC5BE9 #E95BDF
triadic
#AC5BE9 #E9AC5B #5BE9AC
tetradic
#AC5BE9 #E9655B #98E95B #5BDFE9
square
#AC5BE9 #E9655B #98E95B #5BDFE9
split-complementary
#AC5BE9 #DFE95B #5BE965
monochromatic
#7018B2 #9125E2 #AC5BE9 #C791F0 #E3C7F7

Accessibility & contrast

On white

3.87
#AC5BE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#AC5BE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5BE9
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5BE9#FFFFFF#000000##000000
##AC5BE91.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#127EED
Deuteranopia (green-blind)
#4382E6
Tritanopia (blue-blind)
#A3779A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ac5be9;
/* rgb */ color: rgb(172, 91, 233);
/* oklch */ color: oklch(63.0% 0.211 307.7);
Tailwind
colors: {
  custom: {
    50: '#c98df1',
    500: '#ac5be9',
    950: '#000000',
  },
}
SCSS
$custom: #ac5be9;
$custom-light: #c98df1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5be9",
  "rgb": {
    "r": 172,
    "g": 91,
    "b": 233
  },
  "hsl": {
    "h": 274.225,
    "s": 76.344,
    "l": 63.529
  },
  "oklch": {
    "l": 0.62967,
    "c": 0.2109,
    "h": 307.7
  },
  "luminance": 0.22136
}

Semantic roles & 50–950 ramp

primary
#AC5BE9
secondary
#CCE9B7
accent
#D90D64
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AC5BE9

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

Preview Lab → · Contrast checker → · Palette generator →

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