#A799FF#A799FF

#A799FF is a light, vivid blue. Relative luminance 0.382; OKLCH L 73.7% C 0.145 H 288.6°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#A799FF
RGBrgb(167, 153, 255)
HSLhsl(248, 100%, 80%)
HSVhsv(248, 40%, 100%)
CMYKcmyk(34.5%, 40%, 0%, 0%)
CIE-LABlab(68.18, 27.93, -48.99)
CIE-LCHlch(68.18, 56.39, 299.68°)
OKLaboklab(73.67% 0.0463 -0.1375)
OKLCHoklch(73.67% 0.145 288.6)
XYZxyz(45.3728, 38.2167, 99.5744)
Luminance0.3822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A799FF #F1FF99
analogous
#99BEFF #A799FF #DA99FF
triadic
#A799FF #FFA799 #99FFA7
tetradic
#A799FF #FF99BE #F1FF99 #99FFDA
square
#A799FF #FF99BE #F1FF99 #99FFDA
split-complementary
#A799FF #FFDA99 #BEFF99
monochromatic
#3D1FFF #725CFF #A799FF #DCD6FF #E5E0FF

Accessibility & contrast

On white

2.43
#A799FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#A799FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A799FF
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A799FF#FFFFFF#000000##000000
##A799FF1.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A8FF
Deuteranopia (green-blind)
#78A4FD
Tritanopia (blue-blind)
#91ACC0
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a799ff;
/* rgb */ color: rgb(167, 153, 255);
/* oklch */ color: oklch(73.7% 0.145 288.6);
Tailwind
colors: {
  custom: {
    50: '#c4b7ff',
    500: '#a799ff',
    950: '#000000',
  },
}
SCSS
$custom: #a799ff;
$custom-light: #c4b7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a799ff",
  "rgb": {
    "r": 167,
    "g": 153,
    "b": 255
  },
  "hsl": {
    "h": 248.235,
    "s": 100,
    "l": 80
  },
  "oklch": {
    "l": 0.73665,
    "c": 0.1451,
    "h": 288.6
  },
  "luminance": 0.38218
}

Semantic roles & 50–950 ramp

primary
#A799FF
secondary
#F2F7D4
accent
#E600C6
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #A799FF

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

Preview Lab → · Contrast checker → · Palette generator →

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