#AC8BF7#AC8BF7

#AC8BF7 is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.2% C 0.156 H 296.3°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#AC8BF7
RGBrgb(172, 139, 247)
HSLhsl(258, 87%, 76%)
HSVhsv(258, 44%, 97%)
CMYKcmyk(30.4%, 43.7%, 0%, 3.1%)
CIE-LABlab(64.92, 35.12, -49.73)
CIE-LCHlch(64.92, 60.88, 305.23°)
OKLaboklab(71.18% 0.069 -0.1396)
OKLCHoklch(71.18% 0.156 296.3)
XYZxyz(43.0303, 33.9507, 92.2638)
Luminance0.3395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8BF7 #D6F78B
analogous
#8BA0F7 #AC8BF7 #E28BF7
triadic
#AC8BF7 #F7AC8B #8BF7AC
tetradic
#AC8BF7 #F78BA0 #D6F78B #8BF7E2
square
#AC8BF7 #F78BA0 #D6F78B #8BF7E2
split-complementary
#AC8BF7 #F7E28B #A0F78B
monochromatic
#5A18EF #8352F3 #AC8BF7 #D5C4FB #EBE2FD

Accessibility & contrast

On white

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

On black

7.79
#AC8BF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC8BF7
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8BF7#FFFFFF#000000##000000
##AC8BF71.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9EFB
Deuteranopia (green-blind)
#709CF4
Tritanopia (blue-blind)
#9C9FB5
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ac8bf7;
/* rgb */ color: rgb(172, 139, 247);
/* oklch */ color: oklch(71.2% 0.156 296.3);
Tailwind
colors: {
  custom: {
    50: '#c7adfa',
    500: '#ac8bf7',
    950: '#000000',
  },
}
SCSS
$custom: #ac8bf7;
$custom-light: #c7adfa;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8bf7",
  "rgb": {
    "r": 172,
    "g": 139,
    "b": 247
  },
  "hsl": {
    "h": 258.333,
    "s": 87.097,
    "l": 75.686
  },
  "oklch": {
    "l": 0.71176,
    "c": 0.15569,
    "h": 296.3
  },
  "luminance": 0.33951
}

Semantic roles & 50–950 ramp

primary
#AC8BF7
secondary
#ECF5D6
accent
#E4029F
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AC8BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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