#A792EA#A792EA

#A792EA is a light, vivid violet. Relative luminance 0.347; OKLCH L 71.3% C 0.127 H 293.9°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#A792EA
RGBrgb(167, 146, 234)
HSLhsl(254, 68%, 75%)
HSVhsv(254, 38%, 92%)
CMYKcmyk(28.6%, 37.6%, 0%, 8.2%)
CIE-LABlab(65.52, 26.58, -41.67)
CIE-LCHlch(65.52, 49.43, 302.54°)
OKLaboklab(71.33% 0.0515 -0.1163)
OKLCHoklch(71.33% 0.127 293.9)
XYZxyz(41.0629, 34.7132, 82.3629)
Luminance0.3471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A792EA #D5EA92
analogous
#92A9EA #A792EA #D392EA
triadic
#A792EA #EAA792 #92EAA7
tetradic
#A792EA #EA92A9 #D5EA92 #92EAD3
square
#A792EA #EA92A9 #D5EA92 #92EAD3
split-complementary
#A792EA #EAD392 #A9EA92
monochromatic
#542BD6 #7E5FE0 #A792EA #D0C5F4 #EAE5FA

Accessibility & contrast

On white

2.64
#A792EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#A792EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A792EA
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A792EA#FFFFFF#000000##000000
##A792EA1.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A0ED
Deuteranopia (green-blind)
#7C9EE8
Tritanopia (blue-blind)
#98A1B3
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a792ea;
/* rgb */ color: rgb(167, 146, 234);
/* oklch */ color: oklch(71.3% 0.127 293.9);
Tailwind
colors: {
  custom: {
    50: '#c3b2f1',
    500: '#a792ea',
    950: '#000000',
  },
}
SCSS
$custom: #a792ea;
$custom-light: #c3b2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a792ea",
  "rgb": {
    "r": 167,
    "g": 146,
    "b": 234
  },
  "hsl": {
    "h": 254.318,
    "s": 67.692,
    "l": 74.51
  },
  "oklch": {
    "l": 0.71327,
    "c": 0.12717,
    "h": 293.9
  },
  "luminance": 0.34714
}

Semantic roles & 50–950 ramp

primary
#A792EA
secondary
#ECF2D9
accent
#D016A3
background
#FCFAFE
surface
#F8F5FD
border
#D1CFD5
text
#131117
muted
#828085

Preview Lab

Preview with #A792EA

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

Preview Lab → · Contrast checker → · Palette generator →

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