#A792DC#A792DC

#A792DC is a light, moderate violet. Relative luminance 0.339; OKLCH L 70.7% C 0.108 H 296.6°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#A792DC
RGBrgb(167, 146, 220)
HSLhsl(257, 51%, 72%)
HSVhsv(257, 34%, 86%)
CMYKcmyk(24.1%, 33.6%, 0%, 13.7%)
CIE-LABlab(64.92, 23.19, -34.88)
CIE-LCHlch(64.92, 41.89, 303.61°)
OKLaboklab(70.66% 0.0484 -0.0967)
OKLCHoklch(70.66% 0.108 296.6)
XYZxyz(39.1305, 33.9402, 72.1858)
Luminance0.3394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A792DC #C7DC92
analogous
#92A2DC #A792DC #CC92DC
triadic
#A792DC #DCA792 #92DCA7
tetradic
#A792DC #DC92A2 #C7DC92 #92DCCC
square
#A792DC #DC92A2 #C7DC92 #92DCCC
split-complementary
#A792DC #DCCC92 #A2DC92
monochromatic
#5F3BB8 #8264CD #A792DC #CCC0EB #ECE8F8

Accessibility & contrast

On white

2.70
#A792DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#A792DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A792DC
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A792DC#FFFFFF#000000##000000
##A792DC1.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#809EDF
Deuteranopia (green-blind)
#839DDA
Tritanopia (blue-blind)
#9D9EAD
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a792dc;
/* rgb */ color: rgb(167, 146, 220);
/* oklch */ color: oklch(70.7% 0.108 296.6);
Tailwind
colors: {
  custom: {
    50: '#c2b2e7',
    500: '#a792dc',
    950: '#000000',
  },
}
SCSS
$custom: #a792dc;
$custom-light: #c2b2e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a792dc",
  "rgb": {
    "r": 167,
    "g": 146,
    "b": 220
  },
  "hsl": {
    "h": 257.027,
    "s": 51.389,
    "l": 71.765
  },
  "oklch": {
    "l": 0.70661,
    "c": 0.10814,
    "h": 296.6
  },
  "luminance": 0.33941
}

Semantic roles & 50–950 ramp

primary
#A792DC
secondary
#E9EEDC
accent
#BF2794
background
#FCFAFE
surface
#F8F5FC
border
#D1CFD5
text
#121116
muted
#818084

Preview Lab

Preview with #A792DC

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

Preview Lab → · Contrast checker → · Palette generator →

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