#A799EB#A799EB

#A799EB is a light, moderate violet. Relative luminance 0.370; OKLCH L 72.7% C 0.118 H 291.0°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#A799EB
RGBrgb(167, 153, 235)
HSLhsl(250, 67%, 76%)
HSVhsv(250, 35%, 92%)
CMYKcmyk(28.9%, 34.9%, 0%, 7.8%)
CIE-LABlab(67.27, 22.86, -39.48)
CIE-LCHlch(67.27, 45.63, 300.07°)
OKLaboklab(72.68% 0.0422 -0.11)
OKLCHoklch(72.68% 0.118 291)
XYZxyz(42.3192, 36.9953, 83.4923)
Luminance0.3700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A799EB #DDEB99
analogous
#99B4EB #A799EB #D099EB
triadic
#A799EB #EBA799 #99EBA7
tetradic
#A799EB #EB99B4 #DDEB99 #99EBD0
square
#A799EB #EB99B4 #DDEB99 #99EBD0
split-complementary
#A799EB #EBD099 #B4EB99
monochromatic
#4F33D7 #7B66E1 #A799EB #D3CCF5 #E9E5FA

Accessibility & contrast

On white

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

On black

8.40
#A799EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A799EB
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A799EB#FFFFFF#000000##000000
##A799EB1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A5EE
Deuteranopia (green-blind)
#83A2E9
Tritanopia (blue-blind)
#98A7B7
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a799eb;
/* rgb */ color: rgb(167, 153, 235);
/* oklch */ color: oklch(72.7% 0.118 291.0);
Tailwind
colors: {
  custom: {
    50: '#c3b7f1',
    500: '#a799eb',
    950: '#000000',
  },
}
SCSS
$custom: #a799eb;
$custom-light: #c3b7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a799eb",
  "rgb": {
    "r": 167,
    "g": 153,
    "b": 235
  },
  "hsl": {
    "h": 250.244,
    "s": 67.213,
    "l": 76.078
  },
  "oklch": {
    "l": 0.72676,
    "c": 0.1178,
    "h": 291
  },
  "luminance": 0.36996
}

Semantic roles & 50–950 ramp

primary
#A799EB
secondary
#EDF1DA
accent
#CF16B0
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #A799EB

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

Preview Lab → · Contrast checker → · Palette generator →

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