#AC98EB#AC98EB

#AC98EB is a light, moderate violet. Relative luminance 0.372; OKLCH L 72.9% C 0.120 H 294.3°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#AC98EB
RGBrgb(172, 152, 235)
HSLhsl(254, 67%, 76%)
HSVhsv(254, 35%, 92%)
CMYKcmyk(26.8%, 35.3%, 0%, 7.8%)
CIE-LABlab(67.45, 24.85, -39.19)
CIE-LCHlch(67.45, 46.40, 302.38°)
OKLaboklab(72.91% 0.0492 -0.109)
OKLCHoklch(72.91% 0.12 294.3)
XYZxyz(43.2333, 37.2247, 83.4885)
Luminance0.3723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC98EB #D7EB98
analogous
#98ADEB #AC98EB #D598EB
triadic
#AC98EB #EBAC98 #98EBAC
tetradic
#AC98EB #EB98AD #D7EB98 #98EBD5
square
#AC98EB #EB98AD #D7EB98 #98EBD5
split-complementary
#AC98EB #EBD598 #ADEB98
monochromatic
#5932D7 #8365E1 #AC98EB #D5CBF5 #EAE5FA

Accessibility & contrast

On white

2.49
#AC98EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#AC98EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC98EB
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC98EB#FFFFFF#000000##000000
##AC98EB1.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A5EE
Deuteranopia (green-blind)
#84A3E9
Tritanopia (blue-blind)
#9FA6B7
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ac98eb;
/* rgb */ color: rgb(172, 152, 235);
/* oklch */ color: oklch(72.9% 0.120 294.3);
Tailwind
colors: {
  custom: {
    50: '#c6b6f1',
    500: '#ac98eb',
    950: '#000000',
  },
}
SCSS
$custom: #ac98eb;
$custom-light: #c6b6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac98eb",
  "rgb": {
    "r": 172,
    "g": 152,
    "b": 235
  },
  "hsl": {
    "h": 254.458,
    "s": 67.48,
    "l": 75.882
  },
  "oklch": {
    "l": 0.72909,
    "c": 0.11962,
    "h": 294.3
  },
  "luminance": 0.37225
}

Semantic roles & 50–950 ramp

primary
#AC98EB
secondary
#ECF2D9
accent
#CF16A3
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #AC98EB

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

Preview Lab → · Contrast checker → · Palette generator →

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