#A792DF#A792DF

#A792DF is a light, moderate violet. Relative luminance 0.341; OKLCH L 70.8% C 0.112 H 295.9°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#A792DF
RGBrgb(167, 146, 223)
HSLhsl(256, 55%, 72%)
HSVhsv(256, 35%, 87%)
CMYKcmyk(25.1%, 34.5%, 0%, 12.5%)
CIE-LABlab(65.04, 23.91, -36.35)
CIE-LCHlch(65.04, 43.50, 303.33°)
OKLaboklab(70.8% 0.0491 -0.1009)
OKLCHoklch(70.8% 0.112 295.9)
XYZxyz(39.5314, 34.1006, 74.2971)
Luminance0.3410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A792DF #CADF92
analogous
#92A3DF #A792DF #CE92DF
triadic
#A792DF #DFA792 #92DFA7
tetradic
#A792DF #DF92A3 #CADF92 #92DFCE
square
#A792DF #DF92A3 #CADF92 #92DFCE
split-complementary
#A792DF #DFCE92 #A3DF92
monochromatic
#5D38BF #8163D1 #A792DF #CDC1ED #ECE7F8

Accessibility & contrast

On white

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

On black

7.82
#A792DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A792DF
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A792DF#FFFFFF#000000##000000
##A792DF1.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E9EE2
Deuteranopia (green-blind)
#819DDD
Tritanopia (blue-blind)
#9C9FAE
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a792df;
/* rgb */ color: rgb(167, 146, 223);
/* oklch */ color: oklch(70.8% 0.112 295.9);
Tailwind
colors: {
  custom: {
    50: '#c2b2e9',
    500: '#a792df',
    950: '#000000',
  },
}
SCSS
$custom: #a792df;
$custom-light: #c2b2e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a792df",
  "rgb": {
    "r": 167,
    "g": 146,
    "b": 223
  },
  "hsl": {
    "h": 256.364,
    "s": 54.61,
    "l": 72.353
  },
  "oklch": {
    "l": 0.708,
    "c": 0.11223,
    "h": 295.9
  },
  "luminance": 0.34101
}

Semantic roles & 50–950 ramp

primary
#A792DF
secondary
#EAEFDC
accent
#C22397
background
#FCFAFE
surface
#F8F5FD
border
#D1CFD5
text
#121116
muted
#818084

Preview Lab

Preview with #A792DF

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

Preview Lab → · Contrast checker → · Palette generator →

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