#AC7FFB#AC7FFB

#AC7FFB is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.4% C 0.179 H 298.4°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#AC7FFB
RGBrgb(172, 127, 251)
HSLhsl(262, 94%, 74%)
HSVhsv(262, 49%, 98%)
CMYKcmyk(31.5%, 49.4%, 0%, 1.6%)
CIE-LABlab(62.44, 42.79, -55.88)
CIE-LCHlch(62.44, 70.38, 307.44°)
OKLaboklab(69.38% 0.085 -0.1575)
OKLCHoklch(69.38% 0.179 298.4)
XYZxyz(42.0110, 30.9140, 95.0018)
Luminance0.3091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC7FFB #CEFB7F
analogous
#7F90FB #AC7FFB #EA7FFB
triadic
#AC7FFB #FBAC7F #7FFBAC
tetradic
#AC7FFB #FB7F90 #CEFB7F #7FFBEA
square
#AC7FFB #FB7F90 #CEFB7F #7FFBEA
split-complementary
#AC7FFB #FBEA7F #90FB7F
monochromatic
#5F08F7 #8644F9 #AC7FFB #D2BAFD #ECE1FE

Accessibility & contrast

On white

2.92
#AC7FFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#AC7FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC7FFB
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC7FFB#FFFFFF#000000##000000
##AC7FFB1.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5497FF
Deuteranopia (green-blind)
#5F96F8
Tritanopia (blue-blind)
#9B97B1
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ac7ffb;
/* rgb */ color: rgb(172, 127, 251);
/* oklch */ color: oklch(69.4% 0.179 298.4);
Tailwind
colors: {
  custom: {
    50: '#c8a5fd',
    500: '#ac7ffb',
    950: '#000000',
  },
}
SCSS
$custom: #ac7ffb;
$custom-light: #c8a5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ac7ffb",
  "rgb": {
    "r": 172,
    "g": 127,
    "b": 251
  },
  "hsl": {
    "h": 261.774,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.69377,
    "c": 0.17899,
    "h": 298.4
  },
  "luminance": 0.30914
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC7FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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