#AC82EB#AC82EB

#AC82EB is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.0% C 0.154 H 300.9°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#AC82EB
RGBrgb(172, 130, 235)
HSLhsl(264, 72%, 72%)
HSVhsv(264, 45%, 92%)
CMYKcmyk(26.8%, 44.7%, 0%, 7.8%)
CIE-LABlab(62.28, 37.23, -47.29)
CIE-LCHlch(62.28, 60.19, 308.21°)
OKLaboklab(69% 0.0793 -0.1325)
OKLCHoklch(69% 0.154 300.9)
XYZxyz(39.9879, 30.7339, 82.4067)
Luminance0.3073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC82EB #C1EB82
analogous
#828DEB #AC82EB #E182EB
triadic
#AC82EB #EBAC82 #82EBAC
tetradic
#AC82EB #EB828D #C1EB82 #82EBE1
square
#AC82EB #EB828D #C1EB82 #82EBE1
split-complementary
#AC82EB #EBE182 #8DEB82
monochromatic
#6821D1 #894DE3 #AC82EB #CFB7F3 #EDE5FB

Accessibility & contrast

On white

2.94
#AC82EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#AC82EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC82EB
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC82EB#FFFFFF#000000##000000
##AC82EB1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6496EF
Deuteranopia (green-blind)
#6D96E8
Tritanopia (blue-blind)
#A094AB
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ac82eb;
/* rgb */ color: rgb(172, 130, 235);
/* oklch */ color: oklch(69.0% 0.154 300.9);
Tailwind
colors: {
  custom: {
    50: '#c7a7f2',
    500: '#ac82eb',
    950: '#000000',
  },
}
SCSS
$custom: #ac82eb;
$custom-light: #c7a7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac82eb",
  "rgb": {
    "r": 172,
    "g": 130,
    "b": 235
  },
  "hsl": {
    "h": 264,
    "s": 72.414,
    "l": 71.569
  },
  "oklch": {
    "l": 0.68997,
    "c": 0.15435,
    "h": 300.9
  },
  "luminance": 0.30734
}

Semantic roles & 50–950 ramp

primary
#AC82EB
secondary
#E7F2D7
accent
#D41186
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AC82EB

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

Preview Lab → · Contrast checker → · Palette generator →

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