#A799CF#A799CF

#A799CF is a light, moderate violet. Relative luminance 0.355; OKLCH L 71.4% C 0.079 H 296.2°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#A799CF
RGBrgb(167, 153, 207)
HSLhsl(256, 36%, 71%)
HSVhsv(256, 26%, 81%)
CMYKcmyk(19.3%, 26.1%, 0%, 18.8%)
CIE-LABlab(66.14, 16.19, -25.78)
CIE-LCHlch(66.14, 30.44, 302.13°)
OKLaboklab(71.43% 0.0349 -0.0708)
OKLCHoklch(71.43% 0.079 296.2)
XYZxyz(38.5876, 35.5027, 63.8392)
Luminance0.3550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A799CF #C1CF99
analogous
#99A6CF #A799CF #C299CF
triadic
#A799CF #CFA799 #99CFA7
tetradic
#A799CF #CF99A6 #C1CF99 #99CFC2
square
#A799CF #CF99A6 #C1CF99 #99CFC2
split-complementary
#A799CF #CFC299 #A6CF99
monochromatic
#624CA2 #836FBB #A799CF #CBC3E3 #EDEAF5

Accessibility & contrast

On white

2.59
#A799CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#A799CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A799CF
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A799CF#FFFFFF#000000##000000
##A799CF1.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA1D1
Deuteranopia (green-blind)
#8FA0CD
Tritanopia (blue-blind)
#A0A1AC
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a799cf;
/* rgb */ color: rgb(167, 153, 207);
/* oklch */ color: oklch(71.4% 0.079 296.2);
Tailwind
colors: {
  custom: {
    50: '#c1b7dd',
    500: '#a799cf',
    950: '#000000',
  },
}
SCSS
$custom: #a799cf;
$custom-light: #c1b7dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a799cf",
  "rgb": {
    "r": 167,
    "g": 153,
    "b": 207
  },
  "hsl": {
    "h": 255.556,
    "s": 36,
    "l": 70.588
  },
  "oklch": {
    "l": 0.7143,
    "c": 0.07889,
    "h": 296.2
  },
  "luminance": 0.35503
}

Semantic roles & 50–950 ramp

primary
#A799CF
secondary
#E5E9DB
accent
#AF3790
background
#FBFBFD
surface
#F7F6FB
border
#D0D0D4
text
#121115
muted
#818083

Preview Lab

Preview with #A799CF

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

Preview Lab → · Contrast checker → · Palette generator →

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