#AC8DF2#AC8DF2

#AC8DF2 is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.3% C 0.146 H 296.7°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#AC8DF2
RGBrgb(172, 141, 242)
HSLhsl(258, 80%, 75%)
HSVhsv(258, 42%, 95%)
CMYKcmyk(28.9%, 41.7%, 0%, 5.1%)
CIE-LABlab(65.15, 32.76, -46.64)
CIE-LCHlch(65.15, 57.00, 305.09°)
OKLaboklab(71.26% 0.0656 -0.1306)
OKLCHoklch(71.26% 0.146 296.7)
XYZxyz(42.5613, 34.2307, 88.3520)
Luminance0.3423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8DF2 #D3F28D
analogous
#8DA0F2 #AC8DF2 #DF8DF2
triadic
#AC8DF2 #F2AC8D #8DF2AC
tetradic
#AC8DF2 #F28DA0 #D3F28D #8DF2DF
square
#AC8DF2 #F28DA0 #D3F28D #8DF2DF
split-complementary
#AC8DF2 #F2DF8D #A0F28D
monochromatic
#5C1FE5 #8456EC #AC8DF2 #D4C4F8 #EBE4FC

Accessibility & contrast

On white

2.68
#AC8DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#AC8DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC8DF2
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8DF2#FFFFFF#000000##000000
##AC8DF21.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#709FF6
Deuteranopia (green-blind)
#759DEF
Tritanopia (blue-blind)
#9D9FB4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ac8df2;
/* rgb */ color: rgb(172, 141, 242);
/* oklch */ color: oklch(71.3% 0.146 296.7);
Tailwind
colors: {
  custom: {
    50: '#c7aef7',
    500: '#ac8df2',
    950: '#000000',
  },
}
SCSS
$custom: #ac8df2;
$custom-light: #c7aef7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8df2",
  "rgb": {
    "r": 172,
    "g": 141,
    "b": 242
  },
  "hsl": {
    "h": 258.416,
    "s": 79.528,
    "l": 75.098
  },
  "oklch": {
    "l": 0.71264,
    "c": 0.1461,
    "h": 296.7
  },
  "luminance": 0.34231
}

Semantic roles & 50–950 ramp

primary
#AC8DF2
secondary
#EBF4D7
accent
#DC0A9B
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#131017
muted
#827F85

Preview Lab

Preview with #AC8DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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