#AC98F9#AC98F9

#AC98F9 is a light, vivid violet. Relative luminance 0.381; OKLCH L 73.6% C 0.139 H 292.1°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#AC98F9
RGBrgb(172, 152, 249)
HSLhsl(252, 89%, 79%)
HSVhsv(252, 39%, 98%)
CMYKcmyk(30.9%, 39%, 0%, 2.4%)
CIE-LABlab(68.07, 28.30, -45.87)
CIE-LCHlch(68.07, 53.90, 301.67°)
OKLaboklab(73.59% 0.0522 -0.1283)
OKLCHoklch(73.59% 0.139 292.1)
XYZxyz(45.3360, 38.0658, 94.5630)
Luminance0.3807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC98F9 #E5F998
analogous
#98B4F9 #AC98F9 #DC98F9
triadic
#AC98F9 #F9AC98 #98F9AC
tetradic
#AC98F9 #F998B4 #E5F998 #98F9DC
square
#AC98F9 #F998B4 #E5F998 #98F9DC
split-complementary
#AC98F9 #F9DC98 #B4F998
monochromatic
#4F24F2 #7D5EF6 #AC98F9 #DBD2FC #E8E2FD

Accessibility & contrast

On white

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

On black

8.61
#AC98F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC98F9
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC98F9#FFFFFF#000000##000000
##AC98F91.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA7FD
Deuteranopia (green-blind)
#7DA4F7
Tritanopia (blue-blind)
#9AAABD
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ac98f9;
/* rgb */ color: rgb(172, 152, 249);
/* oklch */ color: oklch(73.6% 0.139 292.1);
Tailwind
colors: {
  custom: {
    50: '#c7b6fb',
    500: '#ac98f9',
    950: '#000000',
  },
}
SCSS
$custom: #ac98f9;
$custom-light: #c7b6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ac98f9",
  "rgb": {
    "r": 172,
    "g": 152,
    "b": 249
  },
  "hsl": {
    "h": 252.371,
    "s": 88.991,
    "l": 78.627
  },
  "oklch": {
    "l": 0.73589,
    "c": 0.13853,
    "h": 292.1
  },
  "luminance": 0.38067
}

Semantic roles & 50–950 ramp

primary
#AC98F9
secondary
#EFF5D6
accent
#E600B6
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AC98F9

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

Preview Lab → · Contrast checker → · Palette generator →

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