#AC2BED#AC2BED

#AC2BED is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 58.5% C 0.267 H 310.4°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#AC2BED
RGBrgb(172, 43, 237)
HSLhsl(280, 84%, 55%)
HSVhsv(280, 82%, 93%)
CMYKcmyk(27.4%, 81.9%, 0%, 7.1%)
CIE-LABlab(47.77, 77.12, -71.69)
CIE-LCHlch(47.77, 105.30, 317.09°)
OKLaboklab(58.5% 0.1731 -0.2036)
OKLCHoklch(58.5% 0.267 310.4)
XYZxyz(33.1602, 16.6136, 81.5643)
Luminance0.1661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2BED #6CED2B
analogous
#4B2BED #AC2BED #ED2BCD
triadic
#AC2BED #EDAC2B #2BEDAC
tetradic
#AC2BED #ED4B2B #6CED2B #2BCDED
square
#AC2BED #ED4B2B #6CED2B #2BCDED
split-complementary
#AC2BED #CDED2B #2BED4B
monochromatic
#650C91 #8C11CA #AC2BED #C263F2 #D89CF7

Accessibility & contrast

On white

4.86
#AC2BED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#AC2BED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2BED
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2BED#FFFFFF#000000##FFFFFF
##AC2BED1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CF2
Deuteranopia (green-blind)
#0073E9
Tritanopia (blue-blind)
#A35F8F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ac2bed;
/* rgb */ color: rgb(172, 43, 237);
/* oklch */ color: oklch(58.5% 0.267 310.4);
Tailwind
colors: {
  custom: {
    50: '#cb76f4',
    500: '#ac2bed',
    950: '#000000',
  },
}
SCSS
$custom: #ac2bed;
$custom-light: #cb76f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2bed",
  "rgb": {
    "r": 172,
    "g": 43,
    "b": 237
  },
  "hsl": {
    "h": 279.897,
    "s": 84.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.58498,
    "c": 0.2672,
    "h": 310.4
  },
  "luminance": 0.16613
}

Semantic roles & 50–950 ramp

primary
#AC2BED
secondary
#ACE391
accent
#FB2D72
background
#FDF7FF
surface
#FAEEFE
border
#D3C9D6
text
#140A17
muted
#837C85

Preview Lab

Preview with #AC2BED

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

Preview Lab → · Contrast checker → · Palette generator →

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