#A299DF#A299DF

#A299DF is a light, moderate blue. Relative luminance 0.358; OKLCH L 71.7% C 0.101 H 289.5°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#A299DF
RGBrgb(162, 153, 223)
HSLhsl(248, 52%, 74%)
HSVhsv(248, 31%, 87%)
CMYKcmyk(27.4%, 31.4%, 0%, 12.5%)
CIE-LABlab(66.36, 18.47, -34.33)
CIE-LCHlch(66.36, 38.98, 298.27°)
OKLaboklab(71.71% 0.0337 -0.0952)
OKLCHoklch(71.71% 0.101 289.5)
XYZxyz(39.6075, 35.7908, 74.6193)
Luminance0.3579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A299DF #D6DF99
analogous
#99B3DF #A299DF #C599DF
triadic
#A299DF #DFA299 #99DFA2
tetradic
#A299DF #DF99B3 #D6DF99 #99DFC5
square
#A299DF #DF99B3 #D6DF99 #99DFC5
split-complementary
#A299DF #DFC599 #B3DF99
monochromatic
#4E3DC1 #786AD0 #A299DF #CCC8EE #EAE8F8

Accessibility & contrast

On white

2.57
#A299DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#A299DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A299DF
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A299DF#FFFFFF#000000##000000
##A299DF1.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A3E2
Deuteranopia (green-blind)
#86A0DD
Tritanopia (blue-blind)
#94A5B2
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a299df;
/* rgb */ color: rgb(162, 153, 223);
/* oklch */ color: oklch(71.7% 0.101 289.5);
Tailwind
colors: {
  custom: {
    50: '#bfb7e9',
    500: '#a299df',
    950: '#000000',
  },
}
SCSS
$custom: #a299df;
$custom-light: #bfb7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a299df",
  "rgb": {
    "r": 162,
    "g": 153,
    "b": 223
  },
  "hsl": {
    "h": 247.714,
    "s": 52.239,
    "l": 73.725
  },
  "oklch": {
    "l": 0.71709,
    "c": 0.10102,
    "h": 289.5
  },
  "luminance": 0.35792
}

Semantic roles & 50–950 ramp

primary
#A299DF
secondary
#ECEFDC
accent
#C026AC
background
#FBFBFE
surface
#F7F6FD
border
#D0D0D5
text
#121116
muted
#818084

Preview Lab

Preview with #A299DF

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

Preview Lab → · Contrast checker → · Palette generator →

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