#A799EF#A799EF

#A799EF is a light, vivid blue. Relative luminance 0.372; OKLCH L 72.9% C 0.123 H 290.5°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#A799EF
RGBrgb(167, 153, 239)
HSLhsl(250, 73%, 77%)
HSVhsv(250, 36%, 94%)
CMYKcmyk(30.1%, 36%, 0%, 6.3%)
CIE-LABlab(67.45, 23.86, -41.40)
CIE-LCHlch(67.45, 47.79, 299.95°)
OKLaboklab(72.87% 0.0431 -0.1155)
OKLCHoklch(72.87% 0.123 290.5)
XYZxyz(42.9036, 37.2291, 86.5701)
Luminance0.3723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A799EF #E1EF99
analogous
#99B6EF #A799EF #D299EF
triadic
#A799EF #EFA799 #99EFA7
tetradic
#A799EF #EF99B6 #E1EF99 #99EFD2
square
#A799EF #EF99B6 #E1EF99 #99EFD2
split-complementary
#A799EF #EFD299 #B6EF99
monochromatic
#4C2FDE #7964E7 #A799EF #D5CEF7 #E8E5FB

Accessibility & contrast

On white

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

On black

8.45
#A799EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A799EF
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A799EF#FFFFFF#000000##000000
##A799EF1.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A6F2
Deuteranopia (green-blind)
#81A2ED
Tritanopia (blue-blind)
#96A8B9
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a799ef;
/* rgb */ color: rgb(167, 153, 239);
/* oklch */ color: oklch(72.9% 0.123 290.5);
Tailwind
colors: {
  custom: {
    50: '#c3b7f4',
    500: '#a799ef',
    950: '#000000',
  },
}
SCSS
$custom: #a799ef;
$custom-light: #c3b7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a799ef",
  "rgb": {
    "r": 167,
    "g": 153,
    "b": 239
  },
  "hsl": {
    "h": 249.767,
    "s": 72.881,
    "l": 76.863
  },
  "oklch": {
    "l": 0.72868,
    "c": 0.12329,
    "h": 290.5
  },
  "luminance": 0.3723
}

Semantic roles & 50–950 ramp

primary
#A799EF
secondary
#EEF3D8
accent
#D511B5
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #A799EF

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

Preview Lab → · Contrast checker → · Palette generator →

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