#A299E4#A299E4

#A299E4 is a light, moderate blue. Relative luminance 0.361; OKLCH L 71.9% C 0.108 H 288.9°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#A299E4
RGBrgb(162, 153, 228)
HSLhsl(247, 58%, 75%)
HSVhsv(247, 33%, 89%)
CMYKcmyk(28.9%, 32.9%, 0%, 10.6%)
CIE-LABlab(66.57, 19.70, -36.76)
CIE-LCHlch(66.57, 41.71, 298.19°)
OKLaboklab(71.94% 0.035 -0.1022)
OKLCHoklch(71.94% 0.108 288.9)
XYZxyz(40.2915, 36.0645, 78.2221)
Luminance0.3607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A299E4 #DBE499
analogous
#99B6E4 #A299E4 #C899E4
triadic
#A299E4 #E4A299 #99E4A2
tetradic
#A299E4 #E499B6 #DBE499 #99E4C8
square
#A299E4 #E499B6 #DBE499 #99E4C8
split-complementary
#A299E4 #E4C899 #B6E499
monochromatic
#4A38CA #7669D7 #A299E4 #CEC9F1 #E9E7F9

Accessibility & contrast

On white

2.56
#A299E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#A299E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A299E4
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A299E4#FFFFFF#000000##000000
##A299E41.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A4E7
Deuteranopia (green-blind)
#84A0E2
Tritanopia (blue-blind)
#93A6B4
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a299e4;
/* rgb */ color: rgb(162, 153, 228);
/* oklch */ color: oklch(71.9% 0.108 288.9);
Tailwind
colors: {
  custom: {
    50: '#bfb7ec',
    500: '#a299e4',
    950: '#000000',
  },
}
SCSS
$custom: #a299e4;
$custom-light: #bfb7ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a299e4",
  "rgb": {
    "r": 162,
    "g": 153,
    "b": 228
  },
  "hsl": {
    "h": 247.2,
    "s": 58.14,
    "l": 74.706
  },
  "oklch": {
    "l": 0.71939,
    "c": 0.10803,
    "h": 288.9
  },
  "luminance": 0.36065
}

Semantic roles & 50–950 ramp

primary
#A299E4
secondary
#EDF0DB
accent
#C620B2
background
#FBFBFE
surface
#F7F6FD
border
#D0D0D5
text
#121116
muted
#818084

Preview Lab

Preview with #A299E4

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

Preview Lab → · Contrast checker → · Palette generator →

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