#AC8BFE#AC8BFE

#AC8BFE is a light, vivid violet. Relative luminance 0.344; OKLCH L 71.6% C 0.165 H 295.1°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#AC8BFE
RGBrgb(172, 139, 254)
HSLhsl(257, 98%, 77%)
HSVhsv(257, 45%, 100%)
CMYKcmyk(32.3%, 45.3%, 0%, 0.4%)
CIE-LABlab(65.27, 36.86, -53.02)
CIE-LCHlch(65.27, 64.57, 304.81°)
OKLaboklab(71.55% 0.07 -0.1491)
OKLCHoklch(71.55% 0.165 295.1)
XYZxyz(44.1308, 34.3909, 98.0598)
Luminance0.3439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8BFE #DDFE8B
analogous
#8BA4FE #AC8BFE #E58BFE
triadic
#AC8BFE #FEAC8B #8BFEAC
tetradic
#AC8BFE #FE8BA4 #DDFE8B #8BFEE5
square
#AC8BFE #FE8BA4 #DDFE8B #8BFEE5
split-complementary
#AC8BFE #FEE58B #A4FE8B
monochromatic
#5512FD #814EFD #AC8BFE #D7C8FF #E9E1FF

Accessibility & contrast

On white

2.67
#AC8BFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#AC8BFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC8BFE
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8BFE#FFFFFF#000000##000000
##AC8BFE1.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#669FFF
Deuteranopia (green-blind)
#6B9DFB
Tritanopia (blue-blind)
#9AA1B8
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ac8bfe;
/* rgb */ color: rgb(172, 139, 254);
/* oklch */ color: oklch(71.6% 0.165 295.1);
Tailwind
colors: {
  custom: {
    50: '#c8adff',
    500: '#ac8bfe',
    950: '#000000',
  },
}
SCSS
$custom: #ac8bfe;
$custom-light: #c8adff;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8bfe",
  "rgb": {
    "r": 172,
    "g": 139,
    "b": 254
  },
  "hsl": {
    "h": 257.217,
    "s": 98.291,
    "l": 77.059
  },
  "oklch": {
    "l": 0.71551,
    "c": 0.16474,
    "h": 295.1
  },
  "luminance": 0.34392
}

Semantic roles & 50–950 ramp

primary
#AC8BFE
secondary
#EDF7D4
accent
#E600A4
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #AC8BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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