#AC8FF2#AC8FF2

#AC8FF2 is a light, vivid violet. Relative luminance 0.348; OKLCH L 71.6% C 0.143 H 296.1°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#AC8FF2
RGBrgb(172, 143, 242)
HSLhsl(258, 79%, 75%)
HSVhsv(258, 41%, 95%)
CMYKcmyk(28.9%, 40.9%, 0%, 5.1%)
CIE-LABlab(65.61, 31.64, -45.90)
CIE-LCHlch(65.61, 55.75, 304.58°)
OKLaboklab(71.62% 0.0629 -0.1284)
OKLCHoklch(71.62% 0.143 296.1)
XYZxyz(42.8589, 34.8259, 88.4512)
Luminance0.3483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8FF2 #D5F28F
analogous
#8FA3F2 #AC8FF2 #DE8FF2
triadic
#AC8FF2 #F2AC8F #8FF2AC
tetradic
#AC8FF2 #F28FA3 #D5F28F #8FF2DE
square
#AC8FF2 #F28FA3 #D5F28F #8FF2DE
split-complementary
#AC8FF2 #F2DE8F #A3F28F
monochromatic
#5B21E5 #8358EC #AC8FF2 #D5C6F8 #EBE4FC

Accessibility & contrast

On white

2.64
#AC8FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#AC8FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC8FF2
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8FF2#FFFFFF#000000##000000
##AC8FF21.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A0F6
Deuteranopia (green-blind)
#779EEF
Tritanopia (blue-blind)
#9DA1B5
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ac8ff2;
/* rgb */ color: rgb(172, 143, 242);
/* oklch */ color: oklch(71.6% 0.143 296.1);
Tailwind
colors: {
  custom: {
    50: '#c7b0f7',
    500: '#ac8ff2',
    950: '#000000',
  },
}
SCSS
$custom: #ac8ff2;
$custom-light: #c7b0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8ff2",
  "rgb": {
    "r": 172,
    "g": 143,
    "b": 242
  },
  "hsl": {
    "h": 257.576,
    "s": 79.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.71618,
    "c": 0.143,
    "h": 296.1
  },
  "luminance": 0.34826
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC8FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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