#A799EC#A799EC

#A799EC is a light, moderate violet. Relative luminance 0.371; OKLCH L 72.7% C 0.119 H 290.9°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#A799EC
RGBrgb(167, 153, 236)
HSLhsl(250, 69%, 76%)
HSVhsv(250, 35%, 93%)
CMYKcmyk(29.2%, 35.2%, 0%, 7.5%)
CIE-LABlab(67.32, 23.11, -39.97)
CIE-LCHlch(67.32, 46.17, 300.04°)
OKLaboklab(72.72% 0.0425 -0.1114)
OKLCHoklch(72.72% 0.119 290.9)
XYZxyz(42.4641, 37.0533, 84.2554)
Luminance0.3705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A799EC #DEEC99
analogous
#99B5EC #A799EC #D199EC
triadic
#A799EC #ECA799 #99ECA7
tetradic
#A799EC #EC99B5 #DEEC99 #99ECD1
square
#A799EC #EC99B5 #DEEC99 #99ECD1
split-complementary
#A799EC #ECD199 #B5EC99
monochromatic
#4E32D9 #7A65E2 #A799EC #D4CDF6 #E9E5FA

Accessibility & contrast

On white

2.50
#A799EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#A799EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A799EC
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A799EC#FFFFFF#000000##000000
##A799EC1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A5EF
Deuteranopia (green-blind)
#82A2EA
Tritanopia (blue-blind)
#97A8B8
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a799ec;
/* rgb */ color: rgb(167, 153, 236);
/* oklch */ color: oklch(72.7% 0.119 290.9);
Tailwind
colors: {
  custom: {
    50: '#c3b7f2',
    500: '#a799ec',
    950: '#000000',
  },
}
SCSS
$custom: #a799ec;
$custom-light: #c3b7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a799ec",
  "rgb": {
    "r": 167,
    "g": 153,
    "b": 236
  },
  "hsl": {
    "h": 250.12,
    "s": 68.595,
    "l": 76.275
  },
  "oklch": {
    "l": 0.72724,
    "c": 0.11918,
    "h": 290.9
  },
  "luminance": 0.37054
}

Semantic roles & 50–950 ramp

primary
#A799EC
secondary
#EEF2D9
accent
#D115B1
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #A799EC

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

Preview Lab → · Contrast checker → · Palette generator →

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