#AC4BEC#AC4BEC

#AC4BEC is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 61.2% C 0.235 H 308.6°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#AC4BEC
RGBrgb(172, 75, 236)
HSLhsl(276, 81%, 61%)
HSVhsv(276, 68%, 93%)
CMYKcmyk(27.1%, 68.2%, 0%, 7.5%)
CIE-LABlab(51.68, 65.53, -64.79)
CIE-LCHlch(51.68, 92.15, 315.32°)
OKLaboklab(61.23% 0.1464 -0.1835)
OKLCHoklch(61.23% 0.235 308.6)
XYZxyz(34.6666, 19.8595, 81.3477)
Luminance0.1986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4BEC #8BEC4B
analogous
#5B4BEC #AC4BEC #EC4BDC
triadic
#AC4BEC #ECAC4B #4BECAC
tetradic
#AC4BEC #EC5B4B #8BEC4B #4BDCEC
square
#AC4BEC #EC5B4B #8BEC4B #4BDCEC
split-complementary
#AC4BEC #DCEC4B #4BEC5B
monochromatic
#6E12AB #9218E2 #AC4BEC #C682F2 #DFBAF8

Accessibility & contrast

On white

4.22
#AC4BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#AC4BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC4BEC
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4BEC#FFFFFF#000000##000000
##AC4BEC1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F1
Deuteranopia (green-blind)
#287CE8
Tritanopia (blue-blind)
#A26E96
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ac4bec;
/* rgb */ color: rgb(172, 75, 236);
/* oklch */ color: oklch(61.2% 0.235 308.6);
Tailwind
colors: {
  custom: {
    50: '#ca84f3',
    500: '#ac4bec',
    950: '#000000',
  },
}
SCSS
$custom: #ac4bec;
$custom-light: #ca84f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4bec",
  "rgb": {
    "r": 172,
    "g": 75,
    "b": 236
  },
  "hsl": {
    "h": 276.149,
    "s": 80.905,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61232,
    "c": 0.23476,
    "h": 308.6
  },
  "luminance": 0.19859
}

Semantic roles & 50–950 ramp

primary
#AC4BEC
secondary
#C3E8AB
accent
#DD085D
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B17
muted
#827C85

Preview Lab

Preview with #AC4BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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