#AC5BEB#AC5BEB

#AC5BEB is a light, highly saturated violet. Relative luminance 0.223; OKLCH L 63.1% C 0.213 H 307.3°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#AC5BEB
RGBrgb(172, 91, 235)
HSLhsl(274, 78%, 64%)
HSVhsv(274, 61%, 92%)
CMYKcmyk(26.8%, 61.3%, 0%, 7.8%)
CIE-LABlab(54.29, 57.93, -60.02)
CIE-LCHlch(54.29, 83.41, 313.98°)
OKLaboklab(63.09% 0.129 -0.1695)
OKLCHoklch(63.09% 0.213 307.3)
XYZxyz(35.7466, 22.2514, 80.9930)
Luminance0.2225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5BEB #9AEB5B
analogous
#645BEB #AC5BEB #EB5BE2
triadic
#AC5BEB #EBAC5B #5BEBAC
tetradic
#AC5BEB #EB645B #9AEB5B #5BE2EB
square
#AC5BEB #EB645B #9AEB5B #5BE2EB
split-complementary
#AC5BEB #E2EB5B #5BEB64
monochromatic
#7016B5 #9024E4 #AC5BEB #C892F2 #E3C8F8

Accessibility & contrast

On white

3.85
#AC5BEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#AC5BEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5BEB
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5BEB#FFFFFF#000000##000000
##AC5BEB1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#097FF0
Deuteranopia (green-blind)
#4183E8
Tritanopia (blue-blind)
#A2789B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ac5beb;
/* rgb */ color: rgb(172, 91, 235);
/* oklch */ color: oklch(63.1% 0.213 307.3);
Tailwind
colors: {
  custom: {
    50: '#c98df2',
    500: '#ac5beb',
    950: '#000000',
  },
}
SCSS
$custom: #ac5beb;
$custom-light: #c98df2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5beb",
  "rgb": {
    "r": 172,
    "g": 91,
    "b": 235
  },
  "hsl": {
    "h": 273.75,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.63094,
    "c": 0.21301,
    "h": 307.3
  },
  "luminance": 0.22251
}

Semantic roles & 50–950 ramp

primary
#AC5BEB
secondary
#CEEAB8
accent
#DB0B66
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140D17
muted
#827D85

Preview Lab

Preview with #AC5BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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