#A792EB#A792EB

#A792EB is a light, vivid violet. Relative luminance 0.348; OKLCH L 71.4% C 0.129 H 293.7°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#A792EB
RGBrgb(167, 146, 235)
HSLhsl(254, 69%, 75%)
HSVhsv(254, 38%, 92%)
CMYKcmyk(28.9%, 37.9%, 0%, 7.8%)
CIE-LABlab(65.57, 26.83, -42.15)
CIE-LCHlch(65.57, 49.97, 302.48°)
OKLaboklab(71.38% 0.0517 -0.1177)
OKLCHoklch(71.38% 0.129 293.7)
XYZxyz(41.2069, 34.7708, 83.1216)
Luminance0.3477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A792EB #D6EB92
analogous
#92AAEB #A792EB #D392EB
triadic
#A792EB #EBA792 #92EBA7
tetradic
#A792EB #EB92AA #D6EB92 #92EBD3
square
#A792EB #EB92AA #D6EB92 #92EBD3
split-complementary
#A792EB #EBD392 #AAEB92
monochromatic
#542BD8 #7D5EE2 #A792EB #D1C6F4 #EAE5FA

Accessibility & contrast

On white

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

On black

7.95
#A792EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A792EB
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A792EB#FFFFFF#000000##000000
##A792EB1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A0EE
Deuteranopia (green-blind)
#7C9EE9
Tritanopia (blue-blind)
#98A2B3
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a792eb;
/* rgb */ color: rgb(167, 146, 235);
/* oklch */ color: oklch(71.4% 0.129 293.7);
Tailwind
colors: {
  custom: {
    50: '#c3b2f2',
    500: '#a792eb',
    950: '#000000',
  },
}
SCSS
$custom: #a792eb;
$custom-light: #c3b2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a792eb",
  "rgb": {
    "r": 167,
    "g": 146,
    "b": 235
  },
  "hsl": {
    "h": 254.157,
    "s": 68.992,
    "l": 74.706
  },
  "oklch": {
    "l": 0.71376,
    "c": 0.12853,
    "h": 293.7
  },
  "luminance": 0.34771
}

Semantic roles & 50–950 ramp

primary
#A792EB
secondary
#ECF2D9
accent
#D115A4
background
#FCFAFE
surface
#F8F5FD
border
#D1CFD5
text
#131117
muted
#828085

Preview Lab

Preview with #A792EB

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

Preview Lab → · Contrast checker → · Palette generator →

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