#AC9EFE#AC9EFE

#AC9EFE is a light, vivid blue. Relative luminance 0.404; OKLCH L 74.9% C 0.136 H 289.4°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#AC9EFE
RGBrgb(172, 158, 254)
HSLhsl(249, 98%, 81%)
HSVhsv(249, 38%, 100%)
CMYKcmyk(32.3%, 37.8%, 0%, 0.4%)
CIE-LABlab(69.74, 26.17, -45.97)
CIE-LCHlch(69.74, 52.90, 299.66°)
OKLaboklab(74.94% 0.0452 -0.1286)
OKLCHoklch(74.94% 0.136 289.4)
XYZxyz(47.1248, 40.3790, 99.0578)
Luminance0.4038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC9EFE #F0FE9E
analogous
#9EC0FE #AC9EFE #DC9EFE
triadic
#AC9EFE #FEAC9E #9EFEAC
tetradic
#AC9EFE #FE9EC0 #F0FE9E #9EFEDC
square
#AC9EFE #FE9EC0 #F0FE9E #9EFEDC
split-complementary
#AC9EFE #FEDC9E #C0FE9E
monochromatic
#4425FD #7861FD #AC9EFE #E0DBFF #E5E1FF

Accessibility & contrast

On white

2.31
#AC9EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#AC9EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC9EFE
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC9EFE#FFFFFF#000000##000000
##AC9EFE1.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#81ACFF
Deuteranopia (green-blind)
#81A8FC
Tritanopia (blue-blind)
#98B0C2
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ac9efe;
/* rgb */ color: rgb(172, 158, 254);
/* oklch */ color: oklch(74.9% 0.136 289.4);
Tailwind
colors: {
  custom: {
    50: '#c7baff',
    500: '#ac9efe',
    950: '#000000',
  },
}
SCSS
$custom: #ac9efe;
$custom-light: #c7baff;
$custom-dark: #000000;
JSON
{
  "hex": "#ac9efe",
  "rgb": {
    "r": 172,
    "g": 158,
    "b": 254
  },
  "hsl": {
    "h": 248.75,
    "s": 97.959,
    "l": 80.784
  },
  "oklch": {
    "l": 0.74935,
    "c": 0.13635,
    "h": 289.4
  },
  "luminance": 0.4038
}

Semantic roles & 50–950 ramp

primary
#AC9EFE
secondary
#F2F7D4
accent
#E600C4
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #AC9EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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