#AC8BFC#AC8BFC

#AC8BFC is a light, vivid violet. Relative luminance 0.343; OKLCH L 71.4% C 0.162 H 295.5°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#AC8BFC
RGBrgb(172, 139, 252)
HSLhsl(258, 95%, 77%)
HSVhsv(258, 45%, 99%)
CMYKcmyk(31.7%, 44.8%, 0%, 1.2%)
CIE-LABlab(65.17, 36.36, -52.08)
CIE-LCHlch(65.17, 63.52, 304.92°)
OKLaboklab(71.44% 0.0697 -0.1464)
OKLCHoklch(71.44% 0.162 295.5)
XYZxyz(43.8122, 34.2635, 96.3818)
Luminance0.3426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8BFC #DBFC8B
analogous
#8BA3FC #AC8BFC #E58BFC
triadic
#AC8BFC #FCAC8B #8BFCAC
tetradic
#AC8BFC #FC8BA3 #DBFC8B #8BFCE5
square
#AC8BFC #FC8BA3 #DBFC8B #8BFCE5
split-complementary
#AC8BFC #FCE58B #A3FC8B
monochromatic
#5714F9 #814FFA #AC8BFC #D7C7FE #EAE1FE

Accessibility & contrast

On white

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

On black

7.85
#AC8BFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC8BFC
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8BFC#FFFFFF#000000##000000
##AC8BFC1.002.677.857.85
#FFFFFF2.671.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ac8bfc;
/* rgb */ color: rgb(172, 139, 252);
/* oklch */ color: oklch(71.4% 0.162 295.5);
Tailwind
colors: {
  custom: {
    50: '#c7adfe',
    500: '#ac8bfc',
    950: '#000000',
  },
}
SCSS
$custom: #ac8bfc;
$custom-light: #c7adfe;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8bfc",
  "rgb": {
    "r": 172,
    "g": 139,
    "b": 252
  },
  "hsl": {
    "h": 257.522,
    "s": 94.958,
    "l": 76.667
  },
  "oklch": {
    "l": 0.71443,
    "c": 0.16216,
    "h": 295.5
  },
  "luminance": 0.34264
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC8BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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