#A794F8#A794F8

#A794F8 is a light, vivid violet. Relative luminance 0.362; OKLCH L 72.4% C 0.143 H 291.1°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#A794F8
RGBrgb(167, 148, 248)
HSLhsl(251, 88%, 78%)
HSVhsv(251, 40%, 97%)
CMYKcmyk(32.7%, 40.3%, 0%, 2.7%)
CIE-LABlab(66.65, 28.96, -47.58)
CIE-LCHlch(66.65, 55.71, 301.33°)
OKLaboklab(72.4% 0.0515 -0.1334)
OKLCHoklch(72.4% 0.143 291.1)
XYZxyz(43.4651, 36.1717, 93.4805)
Luminance0.3617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A794F8 #E5F894
analogous
#94B3F8 #A794F8 #D994F8
triadic
#A794F8 #F8A794 #94F8A7
tetradic
#A794F8 #F894B3 #E5F894 #94F8D9
square
#A794F8 #F894B3 #E5F894 #94F8D9
split-complementary
#A794F8 #F8D994 #B3F894
monochromatic
#4921F0 #785BF4 #A794F8 #D6CDFC #E7E2FD

Accessibility & contrast

On white

2.55
#A794F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#A794F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A794F8
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A794F8#FFFFFF#000000##000000
##A794F81.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A4FC
Deuteranopia (green-blind)
#77A0F6
Tritanopia (blue-blind)
#94A7BA
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a794f8;
/* rgb */ color: rgb(167, 148, 248);
/* oklch */ color: oklch(72.4% 0.143 291.1);
Tailwind
colors: {
  custom: {
    50: '#c4b3fb',
    500: '#a794f8',
    950: '#000000',
  },
}
SCSS
$custom: #a794f8;
$custom-light: #c4b3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#a794f8",
  "rgb": {
    "r": 167,
    "g": 148,
    "b": 248
  },
  "hsl": {
    "h": 251.4,
    "s": 87.719,
    "l": 77.647
  },
  "oklch": {
    "l": 0.72395,
    "c": 0.14304,
    "h": 291.1
  },
  "luminance": 0.36173
}

Semantic roles & 50–950 ramp

primary
#A794F8
secondary
#EFF5D6
accent
#E401B9
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #A794F8

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

Preview Lab → · Contrast checker → · Palette generator →

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