#AC62EC#AC62EC

#AC62EC is a light, highly saturated violet. Relative luminance 0.236; OKLCH L 64.1% C 0.204 H 306.2°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#AC62EC
RGBrgb(172, 98, 236)
HSLhsl(272, 78%, 65%)
HSVhsv(272, 58%, 93%)
CMYKcmyk(27.1%, 58.5%, 0%, 7.5%)
CIE-LABlab(55.65, 54.67, -58.41)
CIE-LCHlch(55.65, 80.00, 313.11°)
OKLaboklab(64.1% 0.1206 -0.1648)
OKLCHoklch(64.1% 0.204 306.2)
XYZxyz(36.5181, 23.5625, 81.9648)
Luminance0.2356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC62EC #A2EC62
analogous
#6762EC #AC62EC #EC62E7
triadic
#AC62EC #ECAC62 #62ECAC
tetradic
#AC62EC #EC6762 #A2EC62 #62E7EC
square
#AC62EC #EC6762 #A2EC62 #62E7EC
split-complementary
#AC62EC #E7EC62 #62EC67
monochromatic
#7017BD #8F2BE5 #AC62EC #C999F3 #E6CFF9

Accessibility & contrast

On white

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

On black

5.71
#AC62EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC62EC
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC62EC#FFFFFF#000000##000000
##AC62EC1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2683F0
Deuteranopia (green-blind)
#4886E9
Tritanopia (blue-blind)
#A17D9E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ac62ec;
/* rgb */ color: rgb(172, 98, 236);
/* oklch */ color: oklch(64.1% 0.204 306.2);
Tailwind
colors: {
  custom: {
    50: '#c892f3',
    500: '#ac62ec',
    950: '#000000',
  },
}
SCSS
$custom: #ac62ec;
$custom-light: #c892f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac62ec",
  "rgb": {
    "r": 172,
    "g": 98,
    "b": 236
  },
  "hsl": {
    "h": 272.174,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.64098,
    "c": 0.20427,
    "h": 306.2
  },
  "luminance": 0.23562
}

Semantic roles & 50–950 ramp

primary
#AC62EC
secondary
#D3ECBE
accent
#DB0B6B
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #AC62EC

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

Preview Lab → · Contrast checker → · Palette generator →

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