#AC62EF#AC62EF

#AC62EF is a light, highly saturated violet. Relative luminance 0.237; OKLCH L 64.3% C 0.208 H 305.5°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#AC62EF
RGBrgb(172, 98, 239)
HSLhsl(271, 82%, 66%)
HSVhsv(271, 59%, 94%)
CMYKcmyk(28%, 59%, 0%, 6.3%)
CIE-LABlab(55.82, 55.35, -59.80)
CIE-LCHlch(55.82, 81.48, 312.79°)
OKLaboklab(64.29% 0.1206 -0.1689)
OKLCHoklch(64.29% 0.208 305.5)
XYZxyz(36.9576, 23.7383, 84.2796)
Luminance0.2374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC62EF #A5EF62
analogous
#6562EF #AC62EF #EF62EC
triadic
#AC62EF #EFAC62 #62EFAC
tetradic
#AC62EF #EF6562 #A5EF62 #62ECEF
square
#AC62EF #EF6562 #A5EF62 #62ECEF
split-complementary
#AC62EF #ECEF62 #62EF65
monochromatic
#7014C3 #8F2AE9 #AC62EF #C99AF5 #E7D1FA

Accessibility & contrast

On white

3.65
#AC62EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#AC62EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC62EF
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC62EF#FFFFFF#000000##000000
##AC62EF1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2084F4
Deuteranopia (green-blind)
#4586EC
Tritanopia (blue-blind)
#A17E9F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ac62ef;
/* rgb */ color: rgb(172, 98, 239);
/* oklch */ color: oklch(64.3% 0.208 305.5);
Tailwind
colors: {
  custom: {
    50: '#c992f5',
    500: '#ac62ef',
    950: '#000000',
  },
}
SCSS
$custom: #ac62ef;
$custom-light: #c992f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac62ef",
  "rgb": {
    "r": 172,
    "g": 98,
    "b": 239
  },
  "hsl": {
    "h": 271.489,
    "s": 81.503,
    "l": 66.078
  },
  "oklch": {
    "l": 0.64285,
    "c": 0.20755,
    "h": 305.5
  },
  "luminance": 0.23738
}

Semantic roles & 50–950 ramp

primary
#AC62EF
secondary
#D5EEBF
accent
#DE086D
background
#FCF9FF
surface
#F9F1FE
border
#D2CBD6
text
#140D17
muted
#827E85

Preview Lab

Preview with #AC62EF

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

Preview Lab → · Contrast checker → · Palette generator →

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