#AC7BF8#AC7BF8

#AC7BF8 is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.6% C 0.181 H 299.7°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#AC7BF8
RGBrgb(172, 123, 248)
HSLhsl(264, 90%, 73%)
HSVhsv(264, 50%, 97%)
CMYKcmyk(30.6%, 50.4%, 0%, 2.7%)
CIE-LABlab(61.41, 44.25, -55.87)
CIE-LCHlch(61.41, 71.27, 308.38°)
OKLaboklab(68.56% 0.0899 -0.1575)
OKLCHoklch(68.56% 0.181 299.7)
XYZxyz(41.0355, 29.7136, 92.3621)
Luminance0.2971 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC7BF8 #C7F87B
analogous
#7B88F8 #AC7BF8 #EA7BF8
triadic
#AC7BF8 #F8AC7B #7BF8AC
tetradic
#AC7BF8 #F87B88 #C7F87B #7BF8EA
square
#AC7BF8 #F87B88 #C7F87B #7BF8EA
split-complementary
#AC7BF8 #F8EA7B #88F87B
monochromatic
#640DEC #8741F5 #AC7BF8 #D1B5FB #EDE2FD

Accessibility & contrast

On white

3.02
#AC7BF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#AC7BF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC7BF8
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC7BF8#FFFFFF#000000##000000
##AC7BF81.003.026.946.94
#FFFFFF3.021.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F94FC
Deuteranopia (green-blind)
#5C93F5
Tritanopia (blue-blind)
#9D93AE
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ac7bf8;
/* rgb */ color: rgb(172, 123, 248);
/* oklch */ color: oklch(68.6% 0.181 299.7);
Tailwind
colors: {
  custom: {
    50: '#c8a2fb',
    500: '#ac7bf8',
    950: '#000000',
  },
}
SCSS
$custom: #ac7bf8;
$custom-light: #c8a2fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ac7bf8",
  "rgb": {
    "r": 172,
    "g": 123,
    "b": 248
  },
  "hsl": {
    "h": 263.52,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.6856,
    "c": 0.18131,
    "h": 299.7
  },
  "luminance": 0.29714
}

Semantic roles & 50–950 ramp

primary
#AC7BF8
secondary
#E9F6D5
accent
#E6008C
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AC7BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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