#A799FA#A799FA

#A799FA is a light, vivid blue. Relative luminance 0.379; OKLCH L 73.4% C 0.138 H 289.1°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#A799FA
RGBrgb(167, 153, 250)
HSLhsl(249, 91%, 79%)
HSVhsv(249, 39%, 98%)
CMYKcmyk(33.2%, 38.8%, 0%, 2%)
CIE-LABlab(67.95, 26.64, -46.64)
CIE-LCHlch(67.95, 53.71, 299.74°)
OKLaboklab(73.41% 0.0454 -0.1307)
OKLCHoklch(73.41% 0.138 289.1)
XYZxyz(44.5783, 37.8990, 95.3905)
Luminance0.3790 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A799FA #ECFA99
analogous
#99BCFA #A799FA #D899FA
triadic
#A799FA #FAA799 #99FAA7
tetradic
#A799FA #FA99BC #ECFA99 #99FAD8
square
#A799FA #FA99BC #ECFA99 #99FAD8
split-complementary
#A799FA #FAD899 #BCFA99
monochromatic
#4224F4 #755FF7 #A799FA #D9D3FD #E6E2FE

Accessibility & contrast

On white

2.45
#A799FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#A799FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A799FA
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A799FA#FFFFFF#000000##000000
##A799FA1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA8FE
Deuteranopia (green-blind)
#7BA3F8
Tritanopia (blue-blind)
#93ABBE
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a799fa;
/* rgb */ color: rgb(167, 153, 250);
/* oklch */ color: oklch(73.4% 0.138 289.1);
Tailwind
colors: {
  custom: {
    50: '#c4b7fc',
    500: '#a799fa',
    950: '#000000',
  },
}
SCSS
$custom: #a799fa;
$custom-light: #c4b7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a799fa",
  "rgb": {
    "r": 167,
    "g": 153,
    "b": 250
  },
  "hsl": {
    "h": 248.66,
    "s": 90.654,
    "l": 79.02
  },
  "oklch": {
    "l": 0.7341,
    "c": 0.13832,
    "h": 289.1
  },
  "luminance": 0.379
}

Semantic roles & 50–950 ramp

primary
#A799FA
secondary
#F1F6D5
accent
#E600C4
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #A799FA

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

Preview Lab → · Contrast checker → · Palette generator →

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