#A799FD#A799FD

#A799FD is a light, vivid blue. Relative luminance 0.381; OKLCH L 73.6% C 0.142 H 288.8°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#A799FD
RGBrgb(167, 153, 253)
HSLhsl(248, 96%, 80%)
HSVhsv(248, 40%, 99%)
CMYKcmyk(34%, 39.5%, 0%, 0.8%)
CIE-LABlab(68.09, 27.41, -48.05)
CIE-LCHlch(68.09, 55.32, 299.70°)
OKLaboklab(73.56% 0.0459 -0.1348)
OKLCHoklch(73.56% 0.142 288.8)
XYZxyz(45.0525, 38.0886, 97.8876)
Luminance0.3809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A799FD #EFFD99
analogous
#99BDFD #A799FD #D999FD
triadic
#A799FD #FDA799 #99FDA7
tetradic
#A799FD #FD99BD #EFFD99 #99FDD9
square
#A799FD #FD99BD #EFFD99 #99FDD9
split-complementary
#A799FD #FDD999 #BDFD99
monochromatic
#3F21FB #735DFC #A799FD #DBD5FE #E5E1FE

Accessibility & contrast

On white

2.44
#A799FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#A799FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A799FD
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A799FD#FFFFFF#000000##000000
##A799FD1.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA8FF
Deuteranopia (green-blind)
#79A4FB
Tritanopia (blue-blind)
#91ACBF
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a799fd;
/* rgb */ color: rgb(167, 153, 253);
/* oklch */ color: oklch(73.6% 0.142 288.8);
Tailwind
colors: {
  custom: {
    50: '#c4b7fe',
    500: '#a799fd',
    950: '#000000',
  },
}
SCSS
$custom: #a799fd;
$custom-light: #c4b7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#a799fd",
  "rgb": {
    "r": 167,
    "g": 153,
    "b": 253
  },
  "hsl": {
    "h": 248.4,
    "s": 96.154,
    "l": 79.608
  },
  "oklch": {
    "l": 0.73563,
    "c": 0.14239,
    "h": 288.8
  },
  "luminance": 0.3809
}

Semantic roles & 50–950 ramp

primary
#A799FD
secondary
#F2F7D4
accent
#E600C5
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #A799FD

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

Preview Lab → · Contrast checker → · Palette generator →

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