#AC98EA#AC98EA

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

Color values

HEX#AC98EA
RGBrgb(172, 152, 234)
HSLhsl(255, 66%, 76%)
HSVhsv(255, 35%, 92%)
CMYKcmyk(26.5%, 35%, 0%, 8.2%)
CIE-LABlab(67.40, 24.61, -38.70)
CIE-LCHlch(67.40, 45.87, 302.45°)
OKLaboklab(72.86% 0.049 -0.1076)
OKLCHoklch(72.86% 0.118 294.5)
XYZxyz(43.0892, 37.1671, 82.7298)
Luminance0.3717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC98EA #D6EA98
analogous
#98ADEA #AC98EA #D598EA
triadic
#AC98EA #EAAC98 #98EAAC
tetradic
#AC98EA #EA98AD #D6EA98 #98EAD5
square
#AC98EA #EA98AD #D6EA98 #98EAD5
split-complementary
#AC98EA #EAD598 #ADEA98
monochromatic
#5A32D5 #8365E0 #AC98EA #D5CBF4 #EBE6FA

Accessibility & contrast

On white

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

On black

8.43
#AC98EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC98EA
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC98EA#FFFFFF#000000##000000
##AC98EA1.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A5ED
Deuteranopia (green-blind)
#85A3E8
Tritanopia (blue-blind)
#9FA6B6
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ac98ea;
/* rgb */ color: rgb(172, 152, 234);
/* oklch */ color: oklch(72.9% 0.118 294.5);
Tailwind
colors: {
  custom: {
    50: '#c6b6f1',
    500: '#ac98ea',
    950: '#000000',
  },
}
SCSS
$custom: #ac98ea;
$custom-light: #c6b6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac98ea",
  "rgb": {
    "r": 172,
    "g": 152,
    "b": 234
  },
  "hsl": {
    "h": 254.634,
    "s": 66.129,
    "l": 75.686
  },
  "oklch": {
    "l": 0.72861,
    "c": 0.11826,
    "h": 294.5
  },
  "luminance": 0.37168
}

Semantic roles & 50–950 ramp

primary
#AC98EA
secondary
#ECF1DA
accent
#CE18A1
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AC98EA

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

Preview Lab → · Contrast checker → · Palette generator →

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