#A794FE#A794FE

#A794FE is a light, vivid violet. Relative luminance 0.366; OKLCH L 72.7% C 0.151 H 290.4°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#A794FE
RGBrgb(167, 148, 254)
HSLhsl(251, 98%, 79%)
HSVhsv(251, 42%, 100%)
CMYKcmyk(34.3%, 41.7%, 0%, 0.4%)
CIE-LABlab(66.94, 30.50, -50.41)
CIE-LCHlch(66.94, 58.92, 301.18°)
OKLaboklab(72.71% 0.0526 -0.1416)
OKLCHoklch(72.71% 0.151 290.4)
XYZxyz(44.4109, 36.5500, 98.4617)
Luminance0.3655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A794FE #EBFE94
analogous
#94B6FE #A794FE #DC94FE
triadic
#A794FE #FEA794 #94FEA7
tetradic
#A794FE #FE94B6 #EBFE94 #94FEDC
square
#A794FE #FE94B6 #EBFE94 #94FEDC
split-complementary
#A794FE #FEDC94 #B6FE94
monochromatic
#431BFD #7557FD #A794FE #D9D1FF #E6E1FF

Accessibility & contrast

On white

2.53
#A794FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#A794FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A794FE
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A794FE#FFFFFF#000000##000000
##A794FE1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A5FF
Deuteranopia (green-blind)
#73A1FB
Tritanopia (blue-blind)
#91A8BD
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a794fe;
/* rgb */ color: rgb(167, 148, 254);
/* oklch */ color: oklch(72.7% 0.151 290.4);
Tailwind
colors: {
  custom: {
    50: '#c4b3ff',
    500: '#a794fe',
    950: '#000000',
  },
}
SCSS
$custom: #a794fe;
$custom-light: #c4b3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a794fe",
  "rgb": {
    "r": 167,
    "g": 148,
    "b": 254
  },
  "hsl": {
    "h": 250.755,
    "s": 98.148,
    "l": 78.824
  },
  "oklch": {
    "l": 0.72706,
    "c": 0.15108,
    "h": 290.4
  },
  "luminance": 0.36551
}

Semantic roles & 50–950 ramp

primary
#A794FE
secondary
#F1F7D4
accent
#E600BC
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #A794FE

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

Preview Lab → · Contrast checker → · Palette generator →

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