#AC8EF2#AC8EF2

#AC8EF2 is a light, vivid violet. Relative luminance 0.345; OKLCH L 71.4% C 0.145 H 296.4°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#AC8EF2
RGBrgb(172, 142, 242)
HSLhsl(258, 79%, 75%)
HSVhsv(258, 41%, 95%)
CMYKcmyk(28.9%, 41.3%, 0%, 5.1%)
CIE-LABlab(65.38, 32.20, -46.27)
CIE-LCHlch(65.38, 56.37, 304.83°)
OKLaboklab(71.44% 0.0642 -0.1295)
OKLCHoklch(71.44% 0.145 296.4)
XYZxyz(42.7094, 34.5270, 88.4014)
Luminance0.3453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8EF2 #D4F28E
analogous
#8EA2F2 #AC8EF2 #DE8EF2
triadic
#AC8EF2 #F2AC8E #8EF2AC
tetradic
#AC8EF2 #F28EA2 #D4F28E #8EF2DE
square
#AC8EF2 #F28EA2 #D4F28E #8EF2DE
split-complementary
#AC8EF2 #F2DE8E #A2F28E
monochromatic
#5B20E5 #8457EC #AC8EF2 #D4C5F8 #EBE4FC

Accessibility & contrast

On white

2.66
#AC8EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#AC8EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC8EF2
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8EF2#FFFFFF#000000##000000
##AC8EF21.002.667.917.91
#FFFFFF2.661.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#719FF6
Deuteranopia (green-blind)
#769EEF
Tritanopia (blue-blind)
#9DA0B4
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ac8ef2;
/* rgb */ color: rgb(172, 142, 242);
/* oklch */ color: oklch(71.4% 0.145 296.4);
Tailwind
colors: {
  custom: {
    50: '#c7aff7',
    500: '#ac8ef2',
    950: '#000000',
  },
}
SCSS
$custom: #ac8ef2;
$custom-light: #c7aff7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8ef2",
  "rgb": {
    "r": 172,
    "g": 142,
    "b": 242
  },
  "hsl": {
    "h": 258,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.71441,
    "c": 0.14455,
    "h": 296.4
  },
  "luminance": 0.34527
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC8EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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