#AC8CFB#AC8CFB

#AC8CFB is a light, vivid violet. Relative luminance 0.345; OKLCH L 71.6% C 0.159 H 295.4°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#AC8CFB
RGBrgb(172, 140, 251)
HSLhsl(257, 93%, 77%)
HSVhsv(257, 44%, 98%)
CMYKcmyk(31.5%, 44.2%, 0%, 1.6%)
CIE-LABlab(65.35, 35.55, -51.25)
CIE-LCHlch(65.35, 62.37, 304.75°)
OKLaboklab(71.56% 0.0683 -0.144)
OKLCHoklch(71.56% 0.159 295.4)
XYZxyz(43.7996, 34.4912, 95.5980)
Luminance0.3449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8CFB #DBFB8C
analogous
#8CA4FB #AC8CFB #E38CFB
triadic
#AC8CFB #FBAC8C #8CFBAC
tetradic
#AC8CFB #FB8CA4 #DBFB8C #8CFBE3
square
#AC8CFB #FB8CA4 #DBFB8C #8CFBE3
split-complementary
#AC8CFB #FBE38C #A4FB8C
monochromatic
#5716F7 #8151F9 #AC8CFB #D7C7FD #EAE1FE

Accessibility & contrast

On white

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

On black

7.90
#AC8CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC8CFB
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8CFB#FFFFFF#000000##000000
##AC8CFB1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#69A0FF
Deuteranopia (green-blind)
#6E9DF8
Tritanopia (blue-blind)
#9AA1B8
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ac8cfb;
/* rgb */ color: rgb(172, 140, 251);
/* oklch */ color: oklch(71.6% 0.159 295.4);
Tailwind
colors: {
  custom: {
    50: '#c7aefd',
    500: '#ac8cfb',
    950: '#000000',
  },
}
SCSS
$custom: #ac8cfb;
$custom-light: #c7aefd;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8cfb",
  "rgb": {
    "r": 172,
    "g": 140,
    "b": 251
  },
  "hsl": {
    "h": 257.297,
    "s": 93.277,
    "l": 76.667
  },
  "oklch": {
    "l": 0.71562,
    "c": 0.15935,
    "h": 295.4
  },
  "luminance": 0.34492
}

Semantic roles & 50–950 ramp

primary
#AC8CFB
secondary
#EDF6D5
accent
#E600A3
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #AC8CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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