#A799FC#A799FC

#A799FC is a light, vivid blue. Relative luminance 0.380; OKLCH L 73.5% C 0.141 H 288.9°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#A799FC
RGBrgb(167, 153, 252)
HSLhsl(248, 94%, 79%)
HSVhsv(248, 39%, 99%)
CMYKcmyk(33.7%, 39.3%, 0%, 1.2%)
CIE-LABlab(68.04, 27.15, -47.58)
CIE-LCHlch(68.04, 54.78, 299.71°)
OKLaboklab(73.51% 0.0458 -0.1334)
OKLCHoklch(73.51% 0.141 288.9)
XYZxyz(44.8936, 38.0251, 97.0508)
Luminance0.3803 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A799FC #EEFC99
analogous
#99BDFC #A799FC #D999FC
triadic
#A799FC #FCA799 #99FCA7
tetradic
#A799FC #FC99BD #EEFC99 #99FCD9
square
#A799FC #FC99BD #EEFC99 #99FCD9
split-complementary
#A799FC #FCD999 #BDFC99
monochromatic
#4022F9 #745EFA #A799FC #DAD4FE #E5E1FE

Accessibility & contrast

On white

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

On black

8.61
#A799FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A799FC
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A799FC#FFFFFF#000000##000000
##A799FC1.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA8FF
Deuteranopia (green-blind)
#7AA3FA
Tritanopia (blue-blind)
#92ACBE
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a799fc;
/* rgb */ color: rgb(167, 153, 252);
/* oklch */ color: oklch(73.5% 0.141 288.9);
Tailwind
colors: {
  custom: {
    50: '#c4b7fe',
    500: '#a799fc',
    950: '#000000',
  },
}
SCSS
$custom: #a799fc;
$custom-light: #c4b7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#a799fc",
  "rgb": {
    "r": 167,
    "g": 153,
    "b": 252
  },
  "hsl": {
    "h": 248.485,
    "s": 94.286,
    "l": 79.412
  },
  "oklch": {
    "l": 0.73512,
    "c": 0.14105,
    "h": 288.9
  },
  "luminance": 0.38026
}

Semantic roles & 50–950 ramp

primary
#A799FC
secondary
#F2F6D5
accent
#E600C5
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #A799FC

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

Preview Lab → · Contrast checker → · Palette generator →

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