#A799FB#A799FB

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

Color values

HEX#A799FB
RGBrgb(167, 153, 251)
HSLhsl(249, 92%, 79%)
HSVhsv(249, 39%, 98%)
CMYKcmyk(33.5%, 39%, 0%, 1.6%)
CIE-LABlab(67.99, 26.90, -47.11)
CIE-LCHlch(67.99, 54.25, 299.72°)
OKLaboklab(73.46% 0.0456 -0.132)
OKLCHoklch(73.46% 0.14 289)
XYZxyz(44.7356, 37.9619, 96.2185)
Luminance0.3796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A799FB #EDFB99
analogous
#99BCFB #A799FB #D899FB
triadic
#A799FB #FBA799 #99FBA7
tetradic
#A799FB #FB99BC #EDFB99 #99FBD8
square
#A799FB #FB99BC #EDFB99 #99FBD8
split-complementary
#A799FB #FBD899 #BCFB99
monochromatic
#4123F6 #745EF9 #A799FB #DAD4FD #E6E2FE

Accessibility & contrast

On white

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

On black

8.59
#A799FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A799FB
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A799FB#FFFFFF#000000##000000
##A799FB1.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA8FF
Deuteranopia (green-blind)
#7AA3F9
Tritanopia (blue-blind)
#92ABBE
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a799fb;
/* rgb */ color: rgb(167, 153, 251);
/* oklch */ color: oklch(73.5% 0.140 289.0);
Tailwind
colors: {
  custom: {
    50: '#c4b7fd',
    500: '#a799fb',
    950: '#000000',
  },
}
SCSS
$custom: #a799fb;
$custom-light: #c4b7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a799fb",
  "rgb": {
    "r": 167,
    "g": 153,
    "b": 251
  },
  "hsl": {
    "h": 248.571,
    "s": 92.453,
    "l": 79.216
  },
  "oklch": {
    "l": 0.73461,
    "c": 0.13969,
    "h": 289
  },
  "luminance": 0.37963
}

Semantic roles & 50–950 ramp

primary
#A799FB
secondary
#F1F6D5
accent
#E600C5
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #A799FB

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

Preview Lab → · Contrast checker → · Palette generator →

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