#AC62EB#AC62EB

#AC62EB is a light, highly saturated violet. Relative luminance 0.235; OKLCH L 64.0% C 0.203 H 306.4°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#AC62EB
RGBrgb(172, 98, 235)
HSLhsl(272, 77%, 65%)
HSVhsv(272, 58%, 92%)
CMYKcmyk(26.8%, 58.3%, 0%, 7.8%)
CIE-LABlab(55.59, 54.44, -57.94)
CIE-LCHlch(55.59, 79.50, 313.21°)
OKLaboklab(64.04% 0.1206 -0.1635)
OKLCHoklch(64.04% 0.203 306.4)
XYZxyz(36.3732, 23.5045, 81.2018)
Luminance0.2350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC62EB #A1EB62
analogous
#6862EB #AC62EB #EB62E5
triadic
#AC62EB #EBAC62 #62EBAC
tetradic
#AC62EB #EB6862 #A1EB62 #62E5EB
square
#AC62EB #EB6862 #A1EB62 #62E5EB
split-complementary
#AC62EB #E5EB62 #62EB68
monochromatic
#7018BB #8F2CE4 #AC62EB #C998F2 #E5CFF9

Accessibility & contrast

On white

3.68
#AC62EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#AC62EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC62EB
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC62EB#FFFFFF#000000##000000
##AC62EB1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2883EF
Deuteranopia (green-blind)
#4986E8
Tritanopia (blue-blind)
#A27D9D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ac62eb;
/* rgb */ color: rgb(172, 98, 235);
/* oklch */ color: oklch(64.0% 0.203 306.4);
Tailwind
colors: {
  custom: {
    50: '#c892f2',
    500: '#ac62eb',
    950: '#000000',
  },
}
SCSS
$custom: #ac62eb;
$custom-light: #c892f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac62eb",
  "rgb": {
    "r": 172,
    "g": 98,
    "b": 235
  },
  "hsl": {
    "h": 272.409,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.64037,
    "c": 0.20316,
    "h": 306.4
  },
  "luminance": 0.23504
}

Semantic roles & 50–950 ramp

primary
#AC62EB
secondary
#D3EBBD
accent
#DA0C6A
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #AC62EB

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

Preview Lab → · Contrast checker → · Palette generator →

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