#AC4BE8#AC4BE8

#AC4BE8 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 61.0% C 0.231 H 309.5°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#AC4BE8
RGBrgb(172, 75, 232)
HSLhsl(277, 77%, 60%)
HSVhsv(277, 68%, 91%)
CMYKcmyk(25.9%, 67.7%, 0%, 9%)
CIE-LABlab(51.42, 64.67, -62.97)
CIE-LCHlch(51.42, 90.26, 315.77°)
OKLaboklab(60.96% 0.1469 -0.1781)
OKLCHoklch(60.96% 0.231 309.5)
XYZxyz(34.0919, 19.6297, 78.3212)
Luminance0.1963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4BE8 #87E84B
analogous
#5D4BE8 #AC4BE8 #E84BD6
triadic
#AC4BE8 #E8AC4B #4BE8AC
tetradic
#AC4BE8 #E85D4B #87E84B #4BD6E8
square
#AC4BE8 #E85D4B #87E84B #4BD6E8
split-complementary
#AC4BE8 #D6E84B #4BE85D
monochromatic
#6D15A4 #911CDA #AC4BE8 #C581EF #DEB8F6

Accessibility & contrast

On white

4.26
#AC4BE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#AC4BE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC4BE8
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4BE8#FFFFFF#000000##000000
##AC4BE81.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076ED
Deuteranopia (green-blind)
#2F7CE5
Tritanopia (blue-blind)
#A36D94
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ac4be8;
/* rgb */ color: rgb(172, 75, 232);
/* oklch */ color: oklch(61.0% 0.231 309.5);
Tailwind
colors: {
  custom: {
    50: '#c984f0',
    500: '#ac4be8',
    950: '#000000',
  },
}
SCSS
$custom: #ac4be8;
$custom-light: #c984f0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4be8",
  "rgb": {
    "r": 172,
    "g": 75,
    "b": 232
  },
  "hsl": {
    "h": 277.07,
    "s": 77.34,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60961,
    "c": 0.23086,
    "h": 309.5
  },
  "luminance": 0.19629
}

Semantic roles & 50–950 ramp

primary
#AC4BE8
secondary
#C0E6A9
accent
#DA0C5B
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B17
muted
#827C85

Preview Lab

Preview with #AC4BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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