#A799DC#A799DC

#A799DC is a light, moderate violet. Relative luminance 0.362; OKLCH L 72.0% C 0.097 H 293.4°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#A799DC
RGBrgb(167, 153, 220)
HSLhsl(253, 49%, 73%)
HSVhsv(253, 30%, 86%)
CMYKcmyk(24.1%, 30.5%, 0%, 13.7%)
CIE-LABlab(66.65, 19.22, -32.20)
CIE-LCHlch(66.65, 37.50, 300.83°)
OKLaboklab(71.99% 0.0385 -0.089)
OKLCHoklch(71.99% 0.097 293.4)
XYZxyz(40.2428, 36.1648, 72.5566)
Luminance0.3617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A799DC #CEDC99
analogous
#99ACDC #A799DC #C899DC
triadic
#A799DC #DCA799 #99DCA7
tetradic
#A799DC #DC99AC #CEDC99 #99DCC8
square
#A799DC #DC99AC #CEDC99 #99DCC8
split-complementary
#A799DC #DCC899 #ACDC99
monochromatic
#5A40BB #806BCC #A799DC #CEC7EC #EBE8F7

Accessibility & contrast

On white

2.55
#A799DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#A799DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A799DC
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A799DC#FFFFFF#000000##000000
##A799DC1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A3DF
Deuteranopia (green-blind)
#8AA1DA
Tritanopia (blue-blind)
#9CA4B1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a799dc;
/* rgb */ color: rgb(167, 153, 220);
/* oklch */ color: oklch(72.0% 0.097 293.4);
Tailwind
colors: {
  custom: {
    50: '#c2b7e7',
    500: '#a799dc',
    950: '#000000',
  },
}
SCSS
$custom: #a799dc;
$custom-light: #c2b7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a799dc",
  "rgb": {
    "r": 167,
    "g": 153,
    "b": 220
  },
  "hsl": {
    "h": 252.537,
    "s": 48.905,
    "l": 73.137
  },
  "oklch": {
    "l": 0.71988,
    "c": 0.09702,
    "h": 293.4
  },
  "luminance": 0.36165
}

Semantic roles & 50–950 ramp

primary
#A799DC
secondary
#EBEEDD
accent
#BC299E
background
#FCFBFE
surface
#F8F6FC
border
#D1D0D5
text
#121116
muted
#818084

Preview Lab

Preview with #A799DC

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

Preview Lab → · Contrast checker → · Palette generator →

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