#AC8FE2#AC8FE2

#AC8FE2 is a light, vivid violet. Relative luminance 0.339; OKLCH L 70.8% C 0.122 H 299.4°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#AC8FE2
RGBrgb(172, 143, 226)
HSLhsl(261, 59%, 72%)
HSVhsv(261, 37%, 89%)
CMYKcmyk(23.9%, 36.7%, 0%, 11.4%)
CIE-LABlab(64.89, 27.78, -38.22)
CIE-LCHlch(64.89, 47.25, 306.01°)
OKLaboklab(70.83% 0.0597 -0.1062)
OKLCHoklch(70.83% 0.122 299.4)
XYZxyz(40.5601, 33.9064, 76.3445)
Luminance0.3391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8FE2 #C5E28F
analogous
#8F9CE2 #AC8FE2 #D68FE2
triadic
#AC8FE2 #E2AC8F #8FE2AC
tetradic
#AC8FE2 #E28F9C #C5E28F #8FE2D6
square
#AC8FE2 #E28F9C #C5E28F #8FE2D6
split-complementary
#AC8FE2 #E2D68F #9CE28F
monochromatic
#6533C4 #885ED5 #AC8FE2 #D0C0EF #EDE7F9

Accessibility & contrast

On white

2.70
#AC8FE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#AC8FE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC8FE2
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8FE2#FFFFFF#000000##000000
##AC8FE21.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A9DE5
Deuteranopia (green-blind)
#809DE0
Tritanopia (blue-blind)
#A29DAE
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ac8fe2;
/* rgb */ color: rgb(172, 143, 226);
/* oklch */ color: oklch(70.8% 0.122 299.4);
Tailwind
colors: {
  custom: {
    50: '#c6b0eb',
    500: '#ac8fe2',
    950: '#000000',
  },
}
SCSS
$custom: #ac8fe2;
$custom-light: #c6b0eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8fe2",
  "rgb": {
    "r": 172,
    "g": 143,
    "b": 226
  },
  "hsl": {
    "h": 260.964,
    "s": 58.865,
    "l": 72.353
  },
  "oklch": {
    "l": 0.70831,
    "c": 0.12184,
    "h": 299.4
  },
  "luminance": 0.33907
}

Semantic roles & 50–950 ramp

primary
#AC8FE2
secondary
#E9F0DB
accent
#C61F8C
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AC8FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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