#AC8BFA#AC8BFA

#AC8BFA is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.3% C 0.160 H 295.8°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#AC8BFA
RGBrgb(172, 139, 250)
HSLhsl(258, 92%, 76%)
HSVhsv(258, 44%, 98%)
CMYKcmyk(31.2%, 44.4%, 0%, 2%)
CIE-LABlab(65.07, 35.86, -51.15)
CIE-LCHlch(65.07, 62.47, 305.04°)
OKLaboklab(71.34% 0.0694 -0.1437)
OKLCHoklch(71.34% 0.16 295.8)
XYZxyz(43.4969, 34.1374, 94.7215)
Luminance0.3414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8BFA #D9FA8B
analogous
#8BA2FA #AC8BFA #E48BFA
triadic
#AC8BFA #FAAC8B #8BFAAC
tetradic
#AC8BFA #FA8BA2 #D9FA8B #8BFAE4
square
#AC8BFA #FA8BA2 #D9FA8B #8BFAE4
split-complementary
#AC8BFA #FAE48B #A2FA8B
monochromatic
#5816F5 #8250F7 #AC8BFA #D6C6FD #EAE2FE

Accessibility & contrast

On white

2.68
#AC8BFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#AC8BFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC8BFA
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8BFA#FFFFFF#000000##000000
##AC8BFA1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#689FFE
Deuteranopia (green-blind)
#6E9CF7
Tritanopia (blue-blind)
#9B9FB7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ac8bfa;
/* rgb */ color: rgb(172, 139, 250);
/* oklch */ color: oklch(71.3% 0.160 295.8);
Tailwind
colors: {
  custom: {
    50: '#c7adfc',
    500: '#ac8bfa',
    950: '#000000',
  },
}
SCSS
$custom: #ac8bfa;
$custom-light: #c7adfc;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8bfa",
  "rgb": {
    "r": 172,
    "g": 139,
    "b": 250
  },
  "hsl": {
    "h": 257.838,
    "s": 91.736,
    "l": 76.275
  },
  "oklch": {
    "l": 0.71336,
    "c": 0.15958,
    "h": 295.8
  },
  "luminance": 0.34138
}

Semantic roles & 50–950 ramp

primary
#AC8BFA
secondary
#ECF6D5
accent
#E600A1
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AC8BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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