#AC8BFB#AC8BFB

#AC8BFB is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.4% C 0.161 H 295.6°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#AC8BFB
RGBrgb(172, 139, 251)
HSLhsl(258, 93%, 76%)
HSVhsv(258, 45%, 98%)
CMYKcmyk(31.5%, 44.6%, 0%, 1.6%)
CIE-LABlab(65.12, 36.11, -51.61)
CIE-LCHlch(65.12, 62.99, 304.98°)
OKLaboklab(71.39% 0.0696 -0.1451)
OKLCHoklch(71.39% 0.161 295.6)
XYZxyz(43.6541, 34.2003, 95.5495)
Luminance0.3420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8BFB #DAFB8B
analogous
#8BA2FB #AC8BFB #E48BFB
triadic
#AC8BFB #FBAC8B #8BFBAC
tetradic
#AC8BFB #FB8BA2 #DAFB8B #8BFBE4
square
#AC8BFB #FB8BA2 #DAFB8B #8BFBE4
split-complementary
#AC8BFB #FBE48B #A2FB8B
monochromatic
#5715F7 #8250F9 #AC8BFB #D6C6FD #EAE1FE

Accessibility & contrast

On white

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

On black

7.84
#AC8BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC8BFB
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8BFB#FFFFFF#000000##000000
##AC8BFB1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#679FFF
Deuteranopia (green-blind)
#6D9DF8
Tritanopia (blue-blind)
#9BA0B7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ac8bfb;
/* rgb */ color: rgb(172, 139, 251);
/* oklch */ color: oklch(71.4% 0.161 295.6);
Tailwind
colors: {
  custom: {
    50: '#c7adfd',
    500: '#ac8bfb',
    950: '#000000',
  },
}
SCSS
$custom: #ac8bfb;
$custom-light: #c7adfd;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8bfb",
  "rgb": {
    "r": 172,
    "g": 139,
    "b": 251
  },
  "hsl": {
    "h": 257.679,
    "s": 93.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.71389,
    "c": 0.16087,
    "h": 295.6
  },
  "luminance": 0.34201
}

Semantic roles & 50–950 ramp

primary
#AC8BFB
secondary
#ECF6D5
accent
#E600A2
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #AC8BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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