#A299EF#A299EF

#A299EF is a light, vivid blue. Relative luminance 0.367; OKLCH L 72.5% C 0.123 H 287.7°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#A299EF
RGBrgb(162, 153, 239)
HSLhsl(246, 73%, 77%)
HSVhsv(246, 36%, 94%)
CMYKcmyk(32.2%, 36%, 0%, 6.3%)
CIE-LABlab(67.05, 22.47, -42.06)
CIE-LCHlch(67.05, 47.69, 298.12°)
OKLaboklab(72.46% 0.0375 -0.1175)
OKLCHoklch(72.46% 0.123 287.7)
XYZxyz(41.8674, 36.6948, 86.5216)
Luminance0.3670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A299EF #E6EF99
analogous
#99BBEF #A299EF #CD99EF
triadic
#A299EF #EFA299 #99EFA2
tetradic
#A299EF #EF99BB #E6EF99 #99EFCD
square
#A299EF #EF99BB #E6EF99 #99EFCD
split-complementary
#A299EF #EFCD99 #BBEF99
monochromatic
#422FDE #7264E7 #A299EF #D2CEF7 #E7E5FB

Accessibility & contrast

On white

2.52
#A299EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#A299EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A299EF
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A299EF#FFFFFF#000000##000000
##A299EF1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA5F2
Deuteranopia (green-blind)
#7EA1ED
Tritanopia (blue-blind)
#8FA9B9
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a299ef;
/* rgb */ color: rgb(162, 153, 239);
/* oklch */ color: oklch(72.5% 0.123 287.7);
Tailwind
colors: {
  custom: {
    50: '#c0b7f4',
    500: '#a299ef',
    950: '#000000',
  },
}
SCSS
$custom: #a299ef;
$custom-light: #c0b7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a299ef",
  "rgb": {
    "r": 162,
    "g": 153,
    "b": 239
  },
  "hsl": {
    "h": 246.279,
    "s": 72.881,
    "l": 76.863
  },
  "oklch": {
    "l": 0.72462,
    "c": 0.12335,
    "h": 287.7
  },
  "luminance": 0.36696
}

Semantic roles & 50–950 ramp

primary
#A299EF
secondary
#F0F3D8
accent
#D511C0
background
#FBFBFE
surface
#F7F6FD
border
#D0D0D5
text
#121117
muted
#818085

Preview Lab

Preview with #A299EF

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

Preview Lab → · Contrast checker → · Palette generator →

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