#AC98F8#AC98F8

#AC98F8 is a light, vivid violet. Relative luminance 0.380; OKLCH L 73.5% C 0.137 H 292.3°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#AC98F8
RGBrgb(172, 152, 248)
HSLhsl(253, 87%, 78%)
HSVhsv(253, 39%, 97%)
CMYKcmyk(30.6%, 38.7%, 0%, 2.7%)
CIE-LABlab(68.02, 28.05, -45.40)
CIE-LCHlch(68.02, 53.36, 301.71°)
OKLaboklab(73.54% 0.052 -0.127)
OKLCHoklch(73.54% 0.137 292.3)
XYZxyz(45.1805, 38.0036, 93.7438)
Luminance0.3800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC98F8 #E4F898
analogous
#98B4F8 #AC98F8 #DC98F8
triadic
#AC98F8 #F8AC98 #98F8AC
tetradic
#AC98F8 #F898B4 #E4F898 #98F8DC
square
#AC98F8 #F898B4 #E4F898 #98F8DC
split-complementary
#AC98F8 #F8DC98 #B4F898
monochromatic
#5025F0 #7E5FF4 #AC98F8 #DAD1FC #E8E2FD

Accessibility & contrast

On white

2.44
#AC98F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#AC98F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC98F8
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC98F8#FFFFFF#000000##000000
##AC98F81.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA7FC
Deuteranopia (green-blind)
#7EA4F6
Tritanopia (blue-blind)
#9BA9BC
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ac98f8;
/* rgb */ color: rgb(172, 152, 248);
/* oklch */ color: oklch(73.5% 0.137 292.3);
Tailwind
colors: {
  custom: {
    50: '#c7b6fb',
    500: '#ac98f8',
    950: '#000000',
  },
}
SCSS
$custom: #ac98f8;
$custom-light: #c7b6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ac98f8",
  "rgb": {
    "r": 172,
    "g": 152,
    "b": 248
  },
  "hsl": {
    "h": 252.5,
    "s": 87.273,
    "l": 78.431
  },
  "oklch": {
    "l": 0.73539,
    "c": 0.13719,
    "h": 292.3
  },
  "luminance": 0.38004
}

Semantic roles & 50–950 ramp

primary
#AC98F8
secondary
#EFF5D6
accent
#E402B5
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AC98F8

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

Preview Lab → · Contrast checker → · Palette generator →

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