#A799ED#A799ED

#A799ED is a light, vivid violet. Relative luminance 0.371; OKLCH L 72.8% C 0.121 H 290.7°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#A799ED
RGBrgb(167, 153, 237)
HSLhsl(250, 70%, 76%)
HSVhsv(250, 35%, 93%)
CMYKcmyk(29.5%, 35.4%, 0%, 7.1%)
CIE-LABlab(67.36, 23.36, -40.45)
CIE-LCHlch(67.36, 46.71, 300.01°)
OKLaboklab(72.77% 0.0427 -0.1127)
OKLCHoklch(72.77% 0.121 290.7)
XYZxyz(42.6098, 37.1116, 85.0227)
Luminance0.3711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A799ED #DFED99
analogous
#99B5ED #A799ED #D199ED
triadic
#A799ED #EDA799 #99EDA7
tetradic
#A799ED #ED99B5 #DFED99 #99EDD1
square
#A799ED #ED99B5 #DFED99 #99EDD1
split-complementary
#A799ED #EDD199 #B5ED99
monochromatic
#4D31DB #7A65E4 #A799ED #D4CDF6 #E9E5FA

Accessibility & contrast

On white

2.49
#A799ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#A799ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A799ED
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A799ED#FFFFFF#000000##000000
##A799ED1.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A5F0
Deuteranopia (green-blind)
#82A2EB
Tritanopia (blue-blind)
#97A8B8
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a799ed;
/* rgb */ color: rgb(167, 153, 237);
/* oklch */ color: oklch(72.8% 0.121 290.7);
Tailwind
colors: {
  custom: {
    50: '#c3b7f3',
    500: '#a799ed',
    950: '#000000',
  },
}
SCSS
$custom: #a799ed;
$custom-light: #c3b7f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a799ed",
  "rgb": {
    "r": 167,
    "g": 153,
    "b": 237
  },
  "hsl": {
    "h": 250,
    "s": 70,
    "l": 76.471
  },
  "oklch": {
    "l": 0.72771,
    "c": 0.12054,
    "h": 290.7
  },
  "luminance": 0.37112
}

Semantic roles & 50–950 ramp

primary
#A799ED
secondary
#EEF2D9
accent
#D214B2
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #A799ED

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

Preview Lab → · Contrast checker → · Palette generator →

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