#AC82FB#AC82FB

#AC82FB is a light, vivid violet. Relative luminance 0.317; OKLCH L 69.9% C 0.174 H 297.7°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#AC82FB
RGBrgb(172, 130, 251)
HSLhsl(261, 94%, 75%)
HSVhsv(261, 48%, 98%)
CMYKcmyk(31.5%, 48.2%, 0%, 1.6%)
CIE-LABlab(63.09, 41.13, -54.83)
CIE-LCHlch(63.09, 68.54, 306.88°)
OKLaboklab(69.87% 0.0812 -0.1544)
OKLCHoklch(69.87% 0.174 297.7)
XYZxyz(42.4042, 31.7005, 95.1328)
Luminance0.3170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC82FB #D1FB82
analogous
#8295FB #AC82FB #E882FB
triadic
#AC82FB #FBAC82 #82FBAC
tetradic
#AC82FB #FB8295 #D1FB82 #82FBE8
square
#AC82FB #FB8295 #D1FB82 #82FBE8
split-complementary
#AC82FB #FBE882 #95FB82
monochromatic
#5D0BF7 #8547F9 #AC82FB #D3BDFD #EBE1FE

Accessibility & contrast

On white

2.86
#AC82FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#AC82FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC82FB
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC82FB#FFFFFF#000000##000000
##AC82FB1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5999FF
Deuteranopia (green-blind)
#6397F8
Tritanopia (blue-blind)
#9B99B3
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ac82fb;
/* rgb */ color: rgb(172, 130, 251);
/* oklch */ color: oklch(69.9% 0.174 297.7);
Tailwind
colors: {
  custom: {
    50: '#c8a7fd',
    500: '#ac82fb',
    950: '#000000',
  },
}
SCSS
$custom: #ac82fb;
$custom-light: #c8a7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ac82fb",
  "rgb": {
    "r": 172,
    "g": 130,
    "b": 251
  },
  "hsl": {
    "h": 260.826,
    "s": 93.798,
    "l": 74.706
  },
  "oklch": {
    "l": 0.69869,
    "c": 0.17448,
    "h": 297.7
  },
  "luminance": 0.31701
}

Semantic roles & 50–950 ramp

primary
#AC82FB
secondary
#EBF6D5
accent
#E60096
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #AC82FB

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

Preview Lab → · Contrast checker → · Palette generator →

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