#AC9FE8#AC9FE8

#AC9FE8 is a light, moderate violet. Relative luminance 0.394; OKLCH L 74.1% C 0.105 H 291.8°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#AC9FE8
RGBrgb(172, 159, 232)
HSLhsl(251, 61%, 77%)
HSVhsv(251, 31%, 91%)
CMYKcmyk(25.9%, 31.5%, 0%, 9%)
CIE-LABlab(69.03, 20.18, -35.07)
CIE-LCHlch(69.03, 40.46, 299.92°)
OKLaboklab(74.09% 0.0389 -0.0972)
OKLCHoklch(74.09% 0.105 291.8)
XYZxyz(43.9733, 39.3925, 81.6150)
Luminance0.3939 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC9FE8 #DBE89F
analogous
#9FB7E8 #AC9FE8 #D19FE8
triadic
#AC9FE8 #E8AC9F #9FE8AC
tetradic
#AC9FE8 #E89FB7 #DBE89F #9FE8D1
square
#AC9FE8 #E89FB7 #DBE89F #9FE8D1
split-complementary
#AC9FE8 #E8D19F #B7E89F
monochromatic
#573CD0 #816EDC #AC9FE8 #D7D0F4 #EAE6F9

Accessibility & contrast

On white

2.37
#AC9FE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#AC9FE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC9FE8
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC9FE8#FFFFFF#000000##000000
##AC9FE81.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CAAEB
Deuteranopia (green-blind)
#8DA7E6
Tritanopia (blue-blind)
#9FABB9
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ac9fe8;
/* rgb */ color: rgb(172, 159, 232);
/* oklch */ color: oklch(74.1% 0.105 291.8);
Tailwind
colors: {
  custom: {
    50: '#c6bbef',
    500: '#ac9fe8',
    950: '#000000',
  },
}
SCSS
$custom: #ac9fe8;
$custom-light: #c6bbef;
$custom-dark: #000000;
JSON
{
  "hex": "#ac9fe8",
  "rgb": {
    "r": 172,
    "g": 159,
    "b": 232
  },
  "hsl": {
    "h": 250.685,
    "s": 61.345,
    "l": 76.667
  },
  "oklch": {
    "l": 0.74085,
    "c": 0.10467,
    "h": 291.8
  },
  "luminance": 0.39393
}

Semantic roles & 50–950 ramp

primary
#AC9FE8
secondary
#EDF0DB
accent
#C91CAA
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AC9FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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