#AC98FF#AC98FF

#AC98FF is a light, vivid violet. Relative luminance 0.384; OKLCH L 73.9% C 0.147 H 291.3°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#AC98FF
RGBrgb(172, 152, 255)
HSLhsl(252, 100%, 80%)
HSVhsv(252, 40%, 100%)
CMYKcmyk(32.5%, 40.4%, 0%, 0%)
CIE-LABlab(68.35, 29.81, -48.70)
CIE-LCHlch(68.35, 57.10, 301.47°)
OKLaboklab(73.89% 0.0533 -0.1366)
OKLCHoklch(73.89% 0.147 291.3)
XYZxyz(46.2868, 38.4461, 99.5705)
Luminance0.3845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC98FF #EBFF98
analogous
#98B8FF #AC98FF #DF98FF
triadic
#AC98FF #FFAC98 #98FFAC
tetradic
#AC98FF #FF98B8 #EBFF98 #98FFDF
square
#AC98FF #FF98B8 #EBFF98 #98FFDF
split-complementary
#AC98FF #FFDF98 #B8FF98
monochromatic
#491EFF #7B5BFF #AC98FF #DDD5FF #E6E0FF

Accessibility & contrast

On white

2.42
#AC98FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#AC98FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC98FF
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC98FF#FFFFFF#000000##000000
##AC98FF1.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A8FF
Deuteranopia (green-blind)
#7AA5FC
Tritanopia (blue-blind)
#98ABBF
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ac98ff;
/* rgb */ color: rgb(172, 152, 255);
/* oklch */ color: oklch(73.9% 0.147 291.3);
Tailwind
colors: {
  custom: {
    50: '#c7b6ff',
    500: '#ac98ff',
    950: '#000000',
  },
}
SCSS
$custom: #ac98ff;
$custom-light: #c7b6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ac98ff",
  "rgb": {
    "r": 172,
    "g": 152,
    "b": 255
  },
  "hsl": {
    "h": 251.65,
    "s": 100,
    "l": 79.804
  },
  "oklch": {
    "l": 0.73892,
    "c": 0.14658,
    "h": 291.3
  },
  "luminance": 0.38447
}

Semantic roles & 50–950 ramp

primary
#AC98FF
secondary
#F0F7D4
accent
#E600B9
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #AC98FF

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

Preview Lab → · Contrast checker → · Palette generator →

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