#A799D2#A799D2

#A799D2 is a light, moderate violet. Relative luminance 0.357; OKLCH L 71.6% C 0.083 H 295.5°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#A799D2
RGBrgb(167, 153, 210)
HSLhsl(255, 39%, 71%)
HSVhsv(255, 27%, 82%)
CMYKcmyk(20.5%, 27.1%, 0%, 17.6%)
CIE-LABlab(66.25, 16.88, -27.27)
CIE-LCHlch(66.25, 32.07, 301.75°)
OKLaboklab(71.56% 0.0358 -0.075)
OKLCHoklch(71.56% 0.083 295.5)
XYZxyz(38.9578, 35.6508, 65.7891)
Luminance0.3565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A799D2 #C4D299
analogous
#99A7D2 #A799D2 #C399D2
triadic
#A799D2 #D2A799 #99D2A7
tetradic
#A799D2 #D299A7 #C4D299 #99D2C3
square
#A799D2 #D299A7 #C4D299 #99D2C3
split-complementary
#A799D2 #D2C399 #A7D299
monochromatic
#614AA7 #826FBF #A799D2 #CCC3E5 #EDEAF6

Accessibility & contrast

On white

2.58
#A799D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#A799D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A799D2
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A799D2#FFFFFF#000000##000000
##A799D21.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA1D4
Deuteranopia (green-blind)
#8EA0D0
Tritanopia (blue-blind)
#9FA2AD
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a799d2;
/* rgb */ color: rgb(167, 153, 210);
/* oklch */ color: oklch(71.6% 0.083 295.5);
Tailwind
colors: {
  custom: {
    50: '#c2b7e0',
    500: '#a799d2',
    950: '#000000',
  },
}
SCSS
$custom: #a799d2;
$custom-light: #c2b7e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a799d2",
  "rgb": {
    "r": 167,
    "g": 153,
    "b": 210
  },
  "hsl": {
    "h": 254.737,
    "s": 38.776,
    "l": 71.176
  },
  "oklch": {
    "l": 0.71555,
    "c": 0.08308,
    "h": 295.5
  },
  "luminance": 0.35651
}

Semantic roles & 50–950 ramp

primary
#A799D2
secondary
#E7EBDC
accent
#B23493
background
#FBFBFD
surface
#F7F6FB
border
#D0D0D4
text
#121115
muted
#818083

Preview Lab

Preview with #A799D2

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

Preview Lab → · Contrast checker → · Palette generator →

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