#A794E4#A794E4

#A794E4 is a light, moderate violet. Relative luminance 0.350; OKLCH L 71.4% C 0.116 H 294.2°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#A794E4
RGBrgb(167, 148, 228)
HSLhsl(254, 60%, 74%)
HSVhsv(254, 35%, 89%)
CMYKcmyk(26.8%, 35.1%, 0%, 10.6%)
CIE-LABlab(65.75, 23.98, -38.02)
CIE-LCHlch(65.75, 44.95, 302.24°)
OKLaboklab(71.41% 0.0475 -0.1057)
OKLCHoklch(71.41% 0.116 294.2)
XYZxyz(40.5265, 34.9962, 78.0036)
Luminance0.3500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A794E4 #D1E494
analogous
#94A9E4 #A794E4 #CF94E4
triadic
#A794E4 #E4A794 #94E4A7
tetradic
#A794E4 #E494A9 #D1E494 #94E4CF
square
#A794E4 #E494A9 #D1E494 #94E4CF
split-complementary
#A794E4 #E4CF94 #A9E494
monochromatic
#5733CA #7F63D8 #A794E4 #CFC5F0 #EBE7F9

Accessibility & contrast

On white

2.63
#A794E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#A794E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A794E4
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A794E4#FFFFFF#000000##000000
##A794E41.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA1E7
Deuteranopia (green-blind)
#819EE2
Tritanopia (blue-blind)
#9AA2B1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a794e4;
/* rgb */ color: rgb(167, 148, 228);
/* oklch */ color: oklch(71.4% 0.116 294.2);
Tailwind
colors: {
  custom: {
    50: '#c2b3ed',
    500: '#a794e4',
    950: '#000000',
  },
}
SCSS
$custom: #a794e4;
$custom-light: #c2b3ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a794e4",
  "rgb": {
    "r": 167,
    "g": 148,
    "b": 228
  },
  "hsl": {
    "h": 254.25,
    "s": 59.701,
    "l": 73.725
  },
  "oklch": {
    "l": 0.71408,
    "c": 0.11589,
    "h": 294.2
  },
  "luminance": 0.34997
}

Semantic roles & 50–950 ramp

primary
#A794E4
secondary
#EBF0DB
accent
#C71E9F
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #A794E4

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

Preview Lab → · Contrast checker → · Palette generator →

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