#A799DB#A799DB

#A799DB is a light, moderate violet. Relative luminance 0.361; OKLCH L 71.9% C 0.096 H 293.6°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#A799DB
RGBrgb(167, 153, 219)
HSLhsl(253, 48%, 73%)
HSVhsv(253, 30%, 86%)
CMYKcmyk(23.7%, 30.1%, 0%, 14.1%)
CIE-LABlab(66.61, 18.98, -31.71)
CIE-LCHlch(66.61, 36.96, 300.91°)
OKLaboklab(71.94% 0.0383 -0.0876)
OKLCHoklch(71.94% 0.096 293.6)
XYZxyz(40.1108, 36.1120, 71.8612)
Luminance0.3611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A799DB #CDDB99
analogous
#99ACDB #A799DB #C899DB
triadic
#A799DB #DBA799 #99DBA7
tetradic
#A799DB #DB99AC #CDDB99 #99DBC8
square
#A799DB #DB99AC #CDDB99 #99DBC8
split-complementary
#A799DB #DBC899 #ACDB99
monochromatic
#5A41B8 #806CCB #A799DB #CEC6EB #EBE8F7

Accessibility & contrast

On white

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

On black

8.22
#A799DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A799DB
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A799DB#FFFFFF#000000##000000
##A799DB1.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A3DE
Deuteranopia (green-blind)
#8AA1D9
Tritanopia (blue-blind)
#9CA4B1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a799db;
/* rgb */ color: rgb(167, 153, 219);
/* oklch */ color: oklch(71.9% 0.096 293.6);
Tailwind
colors: {
  custom: {
    50: '#c2b7e6',
    500: '#a799db',
    950: '#000000',
  },
}
SCSS
$custom: #a799db;
$custom-light: #c2b7e6;
$custom-dark: #000000;
JSON
{
  "hex": "#a799db",
  "rgb": {
    "r": 167,
    "g": 153,
    "b": 219
  },
  "hsl": {
    "h": 252.727,
    "s": 47.826,
    "l": 72.941
  },
  "oklch": {
    "l": 0.71944,
    "c": 0.09563,
    "h": 293.6
  },
  "luminance": 0.36112
}

Semantic roles & 50–950 ramp

primary
#A799DB
secondary
#EAEEDD
accent
#BB2A9C
background
#FCFBFE
surface
#F8F6FC
border
#D1D0D5
text
#121116
muted
#818084

Preview Lab

Preview with #A799DB

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

Preview Lab → · Contrast checker → · Palette generator →

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