#A799EE#A799EE

#A799EE is a light, vivid blue. Relative luminance 0.372; OKLCH L 72.8% C 0.122 H 290.6°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#A799EE
RGBrgb(167, 153, 238)
HSLhsl(250, 71%, 77%)
HSVhsv(250, 36%, 93%)
CMYKcmyk(29.8%, 35.7%, 0%, 6.7%)
CIE-LABlab(67.40, 23.61, -40.93)
CIE-LCHlch(67.40, 47.25, 299.98°)
OKLaboklab(72.82% 0.0429 -0.1141)
OKLCHoklch(72.82% 0.122 290.6)
XYZxyz(42.7563, 37.1702, 85.7942)
Luminance0.3717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A799EE #E0EE99
analogous
#99B6EE #A799EE #D299EE
triadic
#A799EE #EEA799 #99EEA7
tetradic
#A799EE #EE99B6 #E0EE99 #99EED2
square
#A799EE #EE99B6 #E0EE99 #99EED2
split-complementary
#A799EE #EED299 #B6EE99
monochromatic
#4C30DD #7A65E5 #A799EE #D4CDF7 #E8E5FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A799EE#FFFFFF#000000##000000
##A799EE1.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)
#81A6F1
Deuteranopia (green-blind)
#81A2EC
Tritanopia (blue-blind)
#97A8B8
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a799ee;
/* rgb */ color: rgb(167, 153, 238);
/* oklch */ color: oklch(72.8% 0.122 290.6);
Tailwind
colors: {
  custom: {
    50: '#c3b7f4',
    500: '#a799ee',
    950: '#000000',
  },
}
SCSS
$custom: #a799ee;
$custom-light: #c3b7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a799ee",
  "rgb": {
    "r": 167,
    "g": 153,
    "b": 238
  },
  "hsl": {
    "h": 249.882,
    "s": 71.429,
    "l": 76.667
  },
  "oklch": {
    "l": 0.72819,
    "c": 0.12192,
    "h": 290.6
  },
  "luminance": 0.37171
}

Semantic roles & 50–950 ramp

primary
#A799EE
secondary
#EEF2D9
accent
#D312B4
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #A799EE

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

Preview Lab → · Contrast checker → · Palette generator →

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