#A799CD#A799CD

#A799CD is a light, moderate violet. Relative luminance 0.354; OKLCH L 71.3% C 0.076 H 296.8°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#A799CD
RGBrgb(167, 153, 205)
HSLhsl(256, 34%, 70%)
HSVhsv(256, 25%, 80%)
CMYKcmyk(18.5%, 25.4%, 0%, 19.6%)
CIE-LABlab(66.06, 15.73, -24.78)
CIE-LCHlch(66.06, 29.35, 302.41°)
OKLaboklab(71.35% 0.0343 -0.0679)
OKLCHoklch(71.35% 0.076 296.8)
XYZxyz(38.3446, 35.4055, 62.5596)
Luminance0.3541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A799CD #BFCD99
analogous
#99A5CD #A799CD #C199CD
triadic
#A799CD #CDA799 #99CDA7
tetradic
#A799CD #CD99A5 #BFCD99 #99CDC1
square
#A799CD #CD99A5 #BFCD99 #99CDC1
split-complementary
#A799CD #CDC199 #A5CD99
monochromatic
#634D9E #8470B9 #A799CD #CAC2E1 #EDEAF5

Accessibility & contrast

On white

2.60
#A799CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#A799CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A799CD
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A799CD#FFFFFF#000000##000000
##A799CD1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA1CF
Deuteranopia (green-blind)
#90A0CC
Tritanopia (blue-blind)
#A0A1AB
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a799cd;
/* rgb */ color: rgb(167, 153, 205);
/* oklch */ color: oklch(71.3% 0.076 296.8);
Tailwind
colors: {
  custom: {
    50: '#c1b7dc',
    500: '#a799cd',
    950: '#000000',
  },
}
SCSS
$custom: #a799cd;
$custom-light: #c1b7dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a799cd",
  "rgb": {
    "r": 167,
    "g": 153,
    "b": 205
  },
  "hsl": {
    "h": 256.154,
    "s": 34.211,
    "l": 70.196
  },
  "oklch": {
    "l": 0.71347,
    "c": 0.07611,
    "h": 296.8
  },
  "luminance": 0.35406
}

Semantic roles & 50–950 ramp

primary
#A799CD
secondary
#E4E8DA
accent
#AD388E
background
#FBFBFD
surface
#F7F6FB
border
#D0D0D4
text
#121115
muted
#818083

Preview Lab

Preview with #A799CD

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

Preview Lab → · Contrast checker → · Palette generator →

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