#AC62DB#AC62DB

#AC62DB is a light, vivid violet. Relative luminance 0.226; OKLCH L 63.1% C 0.186 H 310.4°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#AC62DB
RGBrgb(172, 98, 219)
HSLhsl(277, 63%, 62%)
HSVhsv(277, 55%, 86%)
CMYKcmyk(21.5%, 55.3%, 0%, 14.1%)
CIE-LABlab(54.68, 50.85, -50.40)
CIE-LCHlch(54.68, 71.60, 315.26°)
OKLaboklab(63.08% 0.1203 -0.1414)
OKLCHoklch(63.08% 0.186 310.4)
XYZxyz(34.1647, 22.6211, 69.5706)
Luminance0.2262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC62DB #91DB62
analogous
#7062DB #AC62DB #DB62CE
triadic
#AC62DB #DBAC62 #62DBAC
tetradic
#AC62DB #DB7062 #91DB62 #62CEDB
square
#AC62DB #DB7062 #91DB62 #62CEDB
split-complementary
#AC62DB #CEDB62 #62DB70
monochromatic
#6F249E #9230D0 #AC62DB #C694E6 #E1C6F2

Accessibility & contrast

On white

3.80
#AC62DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#AC62DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC62DB
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC62DB#FFFFFF#000000##000000
##AC62DB1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7FDF
Deuteranopia (green-blind)
#5784D8
Tritanopia (blue-blind)
#A67795
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ac62db;
/* rgb */ color: rgb(172, 98, 219);
/* oklch */ color: oklch(63.1% 0.186 310.4);
Tailwind
colors: {
  custom: {
    50: '#c891e7',
    500: '#ac62db',
    950: '#000000',
  },
}
SCSS
$custom: #ac62db;
$custom-light: #c891e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac62db",
  "rgb": {
    "r": 172,
    "g": 98,
    "b": 219
  },
  "hsl": {
    "h": 276.694,
    "s": 62.694,
    "l": 62.157
  },
  "oklch": {
    "l": 0.63079,
    "c": 0.18562,
    "h": 310.4
  },
  "luminance": 0.2262
}

Semantic roles & 50–950 ramp

primary
#AC62DB
secondary
#C7E3B6
accent
#CA1B5F
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AC62DB

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

Preview Lab → · Contrast checker → · Palette generator →

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