#A799EA#A799EA

#A799EA is a light, moderate violet. Relative luminance 0.369; OKLCH L 72.6% C 0.116 H 291.1°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#A799EA
RGBrgb(167, 153, 234)
HSLhsl(250, 66%, 76%)
HSVhsv(250, 35%, 92%)
CMYKcmyk(28.6%, 34.6%, 0%, 8.2%)
CIE-LABlab(67.23, 22.62, -39.00)
CIE-LCHlch(67.23, 45.09, 300.11°)
OKLaboklab(72.63% 0.042 -0.1086)
OKLCHoklch(72.63% 0.116 291.1)
XYZxyz(42.1751, 36.9377, 82.7336)
Luminance0.3694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A799EA #DCEA99
analogous
#99B3EA #A799EA #CF99EA
triadic
#A799EA #EAA799 #99EAA7
tetradic
#A799EA #EA99B3 #DCEA99 #99EACF
square
#A799EA #EA99B3 #DCEA99 #99EACF
split-complementary
#A799EA #EACF99 #B3EA99
monochromatic
#4F33D5 #7B66E0 #A799EA #D3CCF4 #E9E6FA

Accessibility & contrast

On white

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

On black

8.39
#A799EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A799EA
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A799EA#FFFFFF#000000##000000
##A799EA1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A5ED
Deuteranopia (green-blind)
#83A2E8
Tritanopia (blue-blind)
#98A7B7
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a799ea;
/* rgb */ color: rgb(167, 153, 234);
/* oklch */ color: oklch(72.6% 0.116 291.1);
Tailwind
colors: {
  custom: {
    50: '#c3b7f1',
    500: '#a799ea',
    950: '#000000',
  },
}
SCSS
$custom: #a799ea;
$custom-light: #c3b7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a799ea",
  "rgb": {
    "r": 167,
    "g": 153,
    "b": 234
  },
  "hsl": {
    "h": 250.37,
    "s": 65.854,
    "l": 75.882
  },
  "oklch": {
    "l": 0.72629,
    "c": 0.11642,
    "h": 291.1
  },
  "luminance": 0.36938
}

Semantic roles & 50–950 ramp

primary
#A799EA
secondary
#EDF1DA
accent
#CE18AE
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #A799EA

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

Preview Lab → · Contrast checker → · Palette generator →

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