#AC57EB#AC57EB

#AC57EB is a light, highly saturated violet. Relative luminance 0.216; OKLCH L 62.6% C 0.218 H 307.7°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#AC57EB
RGBrgb(172, 87, 235)
HSLhsl(274, 79%, 63%)
HSVhsv(274, 63%, 92%)
CMYKcmyk(26.8%, 63%, 0%, 7.8%)
CIE-LABlab(53.58, 59.86, -61.16)
CIE-LCHlch(53.58, 85.57, 314.38°)
OKLaboklab(62.58% 0.1336 -0.1729)
OKLCHoklch(62.58% 0.218 307.7)
XYZxyz(35.4138, 21.5857, 80.8820)
Luminance0.2158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC57EB #96EB57
analogous
#6257EB #AC57EB #EB57E0
triadic
#AC57EB #EBAC57 #57EBAC
tetradic
#AC57EB #EB6257 #96EB57 #57E0EB
square
#AC57EB #EB6257 #96EB57 #57E0EB
split-complementary
#AC57EB #E0EB57 #57EB62
monochromatic
#6F15B2 #9120E4 #AC57EB #C78EF2 #E2C4F8

Accessibility & contrast

On white

3.95
#AC57EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#AC57EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC57EB
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC57EB#FFFFFF#000000##000000
##AC57EB1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF0
Deuteranopia (green-blind)
#3B81E8
Tritanopia (blue-blind)
#A27599
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ac57eb;
/* rgb */ color: rgb(172, 87, 235);
/* oklch */ color: oklch(62.6% 0.218 307.7);
Tailwind
colors: {
  custom: {
    50: '#c98bf2',
    500: '#ac57eb',
    950: '#000000',
  },
}
SCSS
$custom: #ac57eb;
$custom-light: #c98bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac57eb",
  "rgb": {
    "r": 172,
    "g": 87,
    "b": 235
  },
  "hsl": {
    "h": 274.459,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.62581,
    "c": 0.21846,
    "h": 307.7
  },
  "luminance": 0.21585
}

Semantic roles & 50–950 ramp

primary
#AC57EB
secondary
#CBE9B4
accent
#DB0A63
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AC57EB

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

Preview Lab → · Contrast checker → · Palette generator →

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