#AC82FE#AC82FE

#AC82FE is a light, vivid violet. Relative luminance 0.319; OKLCH L 70.0% C 0.178 H 297.2°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#AC82FE
RGBrgb(172, 130, 254)
HSLhsl(260, 98%, 75%)
HSVhsv(260, 49%, 100%)
CMYKcmyk(32.3%, 48.8%, 0%, 0.4%)
CIE-LABlab(63.25, 41.88, -56.22)
CIE-LCHlch(63.25, 70.10, 306.68°)
OKLaboklab(70.04% 0.0815 -0.1585)
OKLCHoklch(70.04% 0.178 297.2)
XYZxyz(42.8809, 31.8911, 97.6431)
Luminance0.3189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC82FE #D4FE82
analogous
#8296FE #AC82FE #EA82FE
triadic
#AC82FE #FEAC82 #82FEAC
tetradic
#AC82FE #FE8296 #D4FE82 #82FEEA
square
#AC82FE #FE8296 #D4FE82 #82FEEA
split-complementary
#AC82FE #FEEA82 #96FE82
monochromatic
#5B09FD #8445FE #AC82FE #D4BFFE #EBE1FF

Accessibility & contrast

On white

2.85
#AC82FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#AC82FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC82FE
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC82FE#FFFFFF#000000##000000
##AC82FE1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#579AFF
Deuteranopia (green-blind)
#6098FB
Tritanopia (blue-blind)
#9A9AB4
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ac82fe;
/* rgb */ color: rgb(172, 130, 254);
/* oklch */ color: oklch(70.0% 0.178 297.2);
Tailwind
colors: {
  custom: {
    50: '#c8a7ff',
    500: '#ac82fe',
    950: '#000000',
  },
}
SCSS
$custom: #ac82fe;
$custom-light: #c8a7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ac82fe",
  "rgb": {
    "r": 172,
    "g": 130,
    "b": 254
  },
  "hsl": {
    "h": 260.323,
    "s": 98.413,
    "l": 75.294
  },
  "oklch": {
    "l": 0.70039,
    "c": 0.17823,
    "h": 297.2
  },
  "luminance": 0.31892
}

Semantic roles & 50–950 ramp

primary
#AC82FE
secondary
#EBF7D4
accent
#E60098
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #AC82FE

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

Preview Lab → · Contrast checker → · Palette generator →

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