#A799CA#A799CA

#A799CA is a light, moderate violet. Relative luminance 0.353; OKLCH L 71.2% C 0.072 H 297.6°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#A799CA
RGBrgb(167, 153, 202)
HSLhsl(257, 32%, 70%)
HSVhsv(257, 24%, 79%)
CMYKcmyk(17.3%, 24.3%, 0%, 20.8%)
CIE-LABlab(65.95, 15.06, -23.28)
CIE-LCHlch(65.95, 27.72, 302.89°)
OKLaboklab(71.23% 0.0334 -0.0637)
OKLCHoklch(71.23% 0.072 297.6)
XYZxyz(37.9860, 35.2620, 60.6707)
Luminance0.3526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A799CA #BCCA99
analogous
#99A4CA #A799CA #C099CA
triadic
#A799CA #CAA799 #99CAA7
tetradic
#A799CA #CA99A4 #BCCA99 #99CAC0
square
#A799CA #CA99A4 #BCCA99 #99CAC0
split-complementary
#A799CA #CAC099 #A4CA99
monochromatic
#655099 #8471B5 #A799CA #CAC1DF #ECEAF4

Accessibility & contrast

On white

2.61
#A799CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#A799CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A799CA
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A799CA#FFFFFF#000000##000000
##A799CA1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA0CC
Deuteranopia (green-blind)
#91A0C9
Tritanopia (blue-blind)
#A1A0AA
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a799ca;
/* rgb */ color: rgb(167, 153, 202);
/* oklch */ color: oklch(71.2% 0.072 297.6);
Tailwind
colors: {
  custom: {
    50: '#c1b7da',
    500: '#a799ca',
    950: '#000000',
  },
}
SCSS
$custom: #a799ca;
$custom-light: #c1b7da;
$custom-dark: #000000;
JSON
{
  "hex": "#a799ca",
  "rgb": {
    "r": 167,
    "g": 153,
    "b": 202
  },
  "hsl": {
    "h": 257.143,
    "s": 31.613,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71225,
    "c": 0.07192,
    "h": 297.6
  },
  "luminance": 0.35262
}

Semantic roles & 50–950 ramp

primary
#A799CA
secondary
#E2E6D8
accent
#AA3B8B
background
#FBFBFD
surface
#F7F6FA
border
#D0D0D3
text
#121114
muted
#818083

Preview Lab

Preview with #A799CA

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

Preview Lab → · Contrast checker → · Palette generator →

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