#A792DD#A792DD

#A792DD is a light, moderate violet. Relative luminance 0.340; OKLCH L 70.7% C 0.110 H 296.4°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#A792DD
RGBrgb(167, 146, 221)
HSLhsl(257, 52%, 72%)
HSVhsv(257, 34%, 87%)
CMYKcmyk(24.4%, 33.9%, 0%, 13.3%)
CIE-LABlab(64.96, 23.43, -35.37)
CIE-LCHlch(64.96, 42.43, 303.52°)
OKLaboklab(70.71% 0.0486 -0.0981)
OKLCHoklch(70.71% 0.11 296.4)
XYZxyz(39.2634, 33.9934, 72.8854)
Luminance0.3399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A792DD #C8DD92
analogous
#92A3DD #A792DD #CD92DD
triadic
#A792DD #DDA792 #92DDA7
tetradic
#A792DD #DD92A3 #C8DD92 #92DDCD
square
#A792DD #DD92A3 #C8DD92 #92DDCD
split-complementary
#A792DD #DDCD92 #A3DD92
monochromatic
#5E3ABA #8163CE #A792DD #CDC1EC #ECE8F8

Accessibility & contrast

On white

2.69
#A792DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#A792DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A792DD
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A792DD#FFFFFF#000000##000000
##A792DD1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F9EE0
Deuteranopia (green-blind)
#829DDB
Tritanopia (blue-blind)
#9C9EAD
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a792dd;
/* rgb */ color: rgb(167, 146, 221);
/* oklch */ color: oklch(70.7% 0.110 296.4);
Tailwind
colors: {
  custom: {
    50: '#c2b2e8',
    500: '#a792dd',
    950: '#000000',
  },
}
SCSS
$custom: #a792dd;
$custom-light: #c2b2e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a792dd",
  "rgb": {
    "r": 167,
    "g": 146,
    "b": 221
  },
  "hsl": {
    "h": 256.8,
    "s": 52.448,
    "l": 71.961
  },
  "oklch": {
    "l": 0.70707,
    "c": 0.1095,
    "h": 296.4
  },
  "luminance": 0.33994
}

Semantic roles & 50–950 ramp

primary
#A792DD
secondary
#EAEFDC
accent
#C02695
background
#FCFAFE
surface
#F8F5FC
border
#D1CFD5
text
#121116
muted
#818084

Preview Lab

Preview with #A792DD

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

Preview Lab → · Contrast checker → · Palette generator →

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