#AC7BFA#AC7BFA

#AC7BFA is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.7% C 0.184 H 299.3°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#AC7BFA
RGBrgb(172, 123, 250)
HSLhsl(263, 93%, 73%)
HSVhsv(263, 51%, 98%)
CMYKcmyk(31.2%, 50.8%, 0%, 2%)
CIE-LABlab(61.51, 44.74, -56.80)
CIE-LCHlch(61.51, 72.30, 308.23°)
OKLaboklab(68.68% 0.09 -0.1602)
OKLCHoklch(68.68% 0.184 299.3)
XYZxyz(41.3474, 29.8384, 94.0050)
Luminance0.2984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC7BFA #C9FA7B
analogous
#7B89FA #AC7BFA #EC7BFA
triadic
#AC7BFA #FAAC7B #7BFAAC
tetradic
#AC7BFA #FA7B89 #C9FA7B #7BFAEC
square
#AC7BFA #FA7B89 #C9FA7B #7BFAEC
split-complementary
#AC7BFA #FAEC7B #89FA7B
monochromatic
#6309F1 #8740F8 #AC7BFA #D1B6FC #ECE2FE

Accessibility & contrast

On white

3.01
#AC7BFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#AC7BFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC7BFA
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC7BFA#FFFFFF#000000##000000
##AC7BFA1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E94FE
Deuteranopia (green-blind)
#5B94F7
Tritanopia (blue-blind)
#9C93AF
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ac7bfa;
/* rgb */ color: rgb(172, 123, 250);
/* oklch */ color: oklch(68.7% 0.184 299.3);
Tailwind
colors: {
  custom: {
    50: '#c8a2fc',
    500: '#ac7bfa',
    950: '#000000',
  },
}
SCSS
$custom: #ac7bfa;
$custom-light: #c8a2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ac7bfa",
  "rgb": {
    "r": 172,
    "g": 123,
    "b": 250
  },
  "hsl": {
    "h": 263.15,
    "s": 92.701,
    "l": 73.137
  },
  "oklch": {
    "l": 0.68675,
    "c": 0.18375,
    "h": 299.3
  },
  "luminance": 0.29839
}

Semantic roles & 50–950 ramp

primary
#AC7BFA
secondary
#E9F6D5
accent
#E6008D
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #AC7BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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