#A899EC#A899EC

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

Color values

HEX#A899EC
RGBrgb(168, 153, 236)
HSLhsl(251, 69%, 76%)
HSVhsv(251, 35%, 93%)
CMYKcmyk(28.8%, 35.2%, 0%, 7.5%)
CIE-LABlab(67.40, 23.39, -39.83)
CIE-LCHlch(67.40, 46.19, 300.43°)
OKLaboklab(72.81% 0.0436 -0.1109)
OKLCHoklch(72.81% 0.119 291.4)
XYZxyz(42.6762, 37.1627, 84.2653)
Luminance0.3716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A899EC #DDEC99
analogous
#99B4EC #A899EC #D299EC
triadic
#A899EC #ECA899 #99ECA8
tetradic
#A899EC #EC99B4 #DDEC99 #99ECD2
square
#A899EC #EC99B4 #DDEC99 #99ECD2
split-complementary
#A899EC #ECD299 #B4EC99
monochromatic
#5032D9 #7C65E2 #A899EC #D4CDF6 #E9E5FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A899EC#FFFFFF#000000##000000
##A899EC1.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)
#82A5EF
Deuteranopia (green-blind)
#83A2EA
Tritanopia (blue-blind)
#99A8B8
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a899ec;
/* rgb */ color: rgb(168, 153, 236);
/* oklch */ color: oklch(72.8% 0.119 291.4);
Tailwind
colors: {
  custom: {
    50: '#c3b7f2',
    500: '#a899ec',
    950: '#000000',
  },
}
SCSS
$custom: #a899ec;
$custom-light: #c3b7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a899ec",
  "rgb": {
    "r": 168,
    "g": 153,
    "b": 236
  },
  "hsl": {
    "h": 250.843,
    "s": 68.595,
    "l": 76.275
  },
  "oklch": {
    "l": 0.72806,
    "c": 0.1192,
    "h": 291.4
  },
  "luminance": 0.37163
}

Semantic roles & 50–950 ramp

primary
#A899EC
secondary
#EDF2D9
accent
#D115AF
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #A899EC

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

Preview Lab → · Contrast checker → · Palette generator →

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