#A794FA#A794FA

#A794FA is a light, vivid violet. Relative luminance 0.363; OKLCH L 72.5% C 0.146 H 290.9°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#A794FA
RGBrgb(167, 148, 250)
HSLhsl(251, 91%, 78%)
HSVhsv(251, 41%, 98%)
CMYKcmyk(33.2%, 40.8%, 0%, 2%)
CIE-LABlab(66.75, 29.47, -48.53)
CIE-LCHlch(66.75, 56.78, 301.27°)
OKLaboklab(72.5% 0.0519 -0.1362)
OKLCHoklch(72.5% 0.146 290.9)
XYZxyz(43.7771, 36.2964, 95.1234)
Luminance0.3630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A794FA #E7FA94
analogous
#94B4FA #A794FA #DA94FA
triadic
#A794FA #FAA794 #94FAA7
tetradic
#A794FA #FA94B4 #E7FA94 #94FADA
square
#A794FA #FA94B4 #E7FA94 #94FADA
split-complementary
#A794FA #FADA94 #B4FA94
monochromatic
#471FF5 #775AF7 #A794FA #D7CEFD #E7E2FE

Accessibility & contrast

On white

2.54
#A794FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#A794FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A794FA
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A794FA#FFFFFF#000000##000000
##A794FA1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A4FE
Deuteranopia (green-blind)
#75A0F7
Tritanopia (blue-blind)
#93A7BB
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a794fa;
/* rgb */ color: rgb(167, 148, 250);
/* oklch */ color: oklch(72.5% 0.146 290.9);
Tailwind
colors: {
  custom: {
    50: '#c4b3fc',
    500: '#a794fa',
    950: '#000000',
  },
}
SCSS
$custom: #a794fa;
$custom-light: #c4b3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a794fa",
  "rgb": {
    "r": 167,
    "g": 148,
    "b": 250
  },
  "hsl": {
    "h": 251.176,
    "s": 91.071,
    "l": 78.039
  },
  "oklch": {
    "l": 0.72498,
    "c": 0.14572,
    "h": 290.9
  },
  "luminance": 0.36297
}

Semantic roles & 50–950 ramp

primary
#A794FA
secondary
#F0F6D5
accent
#E600BB
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #A794FA

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

Preview Lab → · Contrast checker → · Palette generator →

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