#AC7EFB#AC7EFB

#AC7EFB is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.2% C 0.180 H 298.6°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#AC7EFB
RGBrgb(172, 126, 251)
HSLhsl(262, 94%, 74%)
HSVhsv(262, 50%, 98%)
CMYKcmyk(31.5%, 49.8%, 0%, 1.6%)
CIE-LABlab(62.22, 43.34, -56.23)
CIE-LCHlch(62.22, 70.99, 307.63°)
OKLaboklab(69.22% 0.0863 -0.1585)
OKLCHoklch(69.22% 0.18 298.6)
XYZxyz(41.8825, 30.6570, 94.9589)
Luminance0.3066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC7EFB #CDFB7E
analogous
#7E8FFB #AC7EFB #EB7EFB
triadic
#AC7EFB #FBAC7E #7EFBAC
tetradic
#AC7EFB #FB7E8F #CDFB7E #7EFBEB
square
#AC7EFB #FB7E8F #CDFB7E #7EFBEB
split-complementary
#AC7EFB #FBEB7E #8FFB7E
monochromatic
#6008F7 #8643F9 #AC7EFB #D2B9FD #ECE1FE

Accessibility & contrast

On white

2.94
#AC7EFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#AC7EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC7EFB
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC7EFB#FFFFFF#000000##000000
##AC7EFB1.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5296FF
Deuteranopia (green-blind)
#5E95F8
Tritanopia (blue-blind)
#9B96B1
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ac7efb;
/* rgb */ color: rgb(172, 126, 251);
/* oklch */ color: oklch(69.2% 0.180 298.6);
Tailwind
colors: {
  custom: {
    50: '#c8a4fd',
    500: '#ac7efb',
    950: '#000000',
  },
}
SCSS
$custom: #ac7efb;
$custom-light: #c8a4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ac7efb",
  "rgb": {
    "r": 172,
    "g": 126,
    "b": 251
  },
  "hsl": {
    "h": 262.08,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.69215,
    "c": 0.18049,
    "h": 298.6
  },
  "luminance": 0.30657
}

Semantic roles & 50–950 ramp

primary
#AC7EFB
secondary
#EAF6D5
accent
#E60091
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #AC7EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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