#A794FB#A794FB

#A794FB is a light, vivid violet. Relative luminance 0.364; OKLCH L 72.5% C 0.147 H 290.7°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#A794FB
RGBrgb(167, 148, 251)
HSLhsl(251, 93%, 78%)
HSVhsv(251, 41%, 98%)
CMYKcmyk(33.5%, 41%, 0%, 1.6%)
CIE-LABlab(66.79, 29.73, -49.00)
CIE-LCHlch(66.79, 57.31, 301.25°)
OKLaboklab(72.55% 0.0521 -0.1375)
OKLCHoklch(72.55% 0.147 290.7)
XYZxyz(43.9343, 36.3593, 95.9514)
Luminance0.3636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A794FB #E8FB94
analogous
#94B4FB #A794FB #DA94FB
triadic
#A794FB #FBA794 #94FBA7
tetradic
#A794FB #FB94B4 #E8FB94 #94FBDA
square
#A794FB #FB94B4 #E8FB94 #94FBDA
split-complementary
#A794FB #FBDA94 #B4FB94
monochromatic
#461EF7 #7659F9 #A794FB #D8CFFD #E7E2FE

Accessibility & contrast

On white

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

On black

8.27
#A794FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A794FB
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A794FB#FFFFFF#000000##000000
##A794FB1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A4FF
Deuteranopia (green-blind)
#75A0F8
Tritanopia (blue-blind)
#93A7BB
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a794fb;
/* rgb */ color: rgb(167, 148, 251);
/* oklch */ color: oklch(72.5% 0.147 290.7);
Tailwind
colors: {
  custom: {
    50: '#c4b3fd',
    500: '#a794fb',
    950: '#000000',
  },
}
SCSS
$custom: #a794fb;
$custom-light: #c4b3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a794fb",
  "rgb": {
    "r": 167,
    "g": 148,
    "b": 251
  },
  "hsl": {
    "h": 251.068,
    "s": 92.793,
    "l": 78.235
  },
  "oklch": {
    "l": 0.72549,
    "c": 0.14707,
    "h": 290.7
  },
  "luminance": 0.3636
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A794FB

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

Preview Lab → · Contrast checker → · Palette generator →

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