#A792EC#A792EC

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

Color values

HEX#A792EC
RGBrgb(167, 146, 236)
HSLhsl(254, 70%, 75%)
HSVhsv(254, 38%, 93%)
CMYKcmyk(29.2%, 38.1%, 0%, 7.5%)
CIE-LABlab(65.62, 27.08, -42.63)
CIE-LCHlch(65.62, 50.50, 302.42°)
OKLaboklab(71.43% 0.0519 -0.119)
OKLCHoklch(71.43% 0.13 293.6)
XYZxyz(41.3518, 34.8287, 83.8846)
Luminance0.3483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A792EC #D7EC92
analogous
#92AAEC #A792EC #D492EC
triadic
#A792EC #ECA792 #92ECA7
tetradic
#A792EC #EC92AA #D7EC92 #92ECD4
square
#A792EC #EC92AA #D7EC92 #92ECD4
split-complementary
#A792EC #ECD492 #AAEC92
monochromatic
#532ADA #7D5EE3 #A792EC #D1C6F5 #EAE5FA

Accessibility & contrast

On white

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

On black

7.97
#A792EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A792EC
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A792EC#FFFFFF#000000##000000
##A792EC1.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A0EF
Deuteranopia (green-blind)
#7B9EEA
Tritanopia (blue-blind)
#98A2B4
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a792ec;
/* rgb */ color: rgb(167, 146, 236);
/* oklch */ color: oklch(71.4% 0.130 293.6);
Tailwind
colors: {
  custom: {
    50: '#c3b2f2',
    500: '#a792ec',
    950: '#000000',
  },
}
SCSS
$custom: #a792ec;
$custom-light: #c3b2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a792ec",
  "rgb": {
    "r": 167,
    "g": 146,
    "b": 236
  },
  "hsl": {
    "h": 254,
    "s": 70.313,
    "l": 74.902
  },
  "oklch": {
    "l": 0.71425,
    "c": 0.12988,
    "h": 293.6
  },
  "luminance": 0.34829
}

Semantic roles & 50–950 ramp

primary
#A792EC
secondary
#ECF2D9
accent
#D213A6
background
#FCFAFE
surface
#F8F5FD
border
#D1CFD5
text
#131117
muted
#828085

Preview Lab

Preview with #A792EC

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

Preview Lab → · Contrast checker → · Palette generator →

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