#AC8BEF#AC8BEF

#AC8BEF is a light, vivid violet. Relative luminance 0.335; OKLCH L 70.8% C 0.145 H 297.8°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#AC8BEF
RGBrgb(172, 139, 239)
HSLhsl(260, 76%, 74%)
HSVhsv(260, 42%, 94%)
CMYKcmyk(28%, 41.8%, 0%, 6.3%)
CIE-LABlab(64.54, 33.15, -45.95)
CIE-LCHlch(64.54, 56.66, 305.81°)
OKLaboklab(70.76% 0.0677 -0.1285)
OKLCHoklch(70.76% 0.145 297.8)
XYZxyz(41.8222, 33.4675, 85.9011)
Luminance0.3347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8BEF #CEEF8B
analogous
#8B9CEF #AC8BEF #DE8BEF
triadic
#AC8BEF #EFAC8B #8BEFAC
tetradic
#AC8BEF #EF8B9C #CEEF8B #8BEFDE
square
#AC8BEF #EF8B9C #CEEF8B #8BEFDE
split-complementary
#AC8BEF #EFDE8B #9CEF8B
monochromatic
#5F1FE0 #8655E8 #AC8BEF #D2C1F6 #ECE4FB

Accessibility & contrast

On white

2.73
#AC8BEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#AC8BEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC8BEF
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8BEF#FFFFFF#000000##000000
##AC8BEF1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9DF3
Deuteranopia (green-blind)
#759BEC
Tritanopia (blue-blind)
#9E9DB2
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ac8bef;
/* rgb */ color: rgb(172, 139, 239);
/* oklch */ color: oklch(70.8% 0.145 297.8);
Tailwind
colors: {
  custom: {
    50: '#c7adf4',
    500: '#ac8bef',
    950: '#000000',
  },
}
SCSS
$custom: #ac8bef;
$custom-light: #c7adf4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8bef",
  "rgb": {
    "r": 172,
    "g": 139,
    "b": 239
  },
  "hsl": {
    "h": 259.8,
    "s": 75.758,
    "l": 74.118
  },
  "oklch": {
    "l": 0.70759,
    "c": 0.14531,
    "h": 297.8
  },
  "luminance": 0.33468
}

Semantic roles & 50–950 ramp

primary
#AC8BEF
secondary
#EAF3D8
accent
#D80E95
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AC8BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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