#A792D2#A792D2

#A792D2 is a light, moderate violet. Relative luminance 0.334; OKLCH L 70.2% C 0.094 H 299.0°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#A792D2
RGBrgb(167, 146, 210)
HSLhsl(260, 42%, 70%)
HSVhsv(260, 30%, 82%)
CMYKcmyk(20.5%, 30.5%, 0%, 17.6%)
CIE-LABlab(64.50, 20.84, -29.96)
CIE-LCHlch(64.50, 36.50, 304.82°)
OKLaboklab(70.21% 0.0458 -0.0826)
OKLCHoklch(70.21% 0.094 299)
XYZxyz(37.8456, 33.4262, 65.4184)
Luminance0.3343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A792D2 #BDD292
analogous
#929DD2 #A792D2 #C792D2
triadic
#A792D2 #D2A792 #92D2A7
tetradic
#A792D2 #D2929D #BDD292 #92D2C7
square
#A792D2 #D2929D #BDD292 #92D2C7
split-complementary
#A792D2 #D2C792 #9DD292
monochromatic
#6444A5 #8467C0 #A792D2 #CABDE4 #EDE9F6

Accessibility & contrast

On white

2.73
#A792D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#A792D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A792D2
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A792D2#FFFFFF#000000##000000
##A792D21.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#849CD5
Deuteranopia (green-blind)
#879CD0
Tritanopia (blue-blind)
#9F9CA9
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a792d2;
/* rgb */ color: rgb(167, 146, 210);
/* oklch */ color: oklch(70.2% 0.094 299.0);
Tailwind
colors: {
  custom: {
    50: '#c2b2e0',
    500: '#a792d2',
    950: '#000000',
  },
}
SCSS
$custom: #a792d2;
$custom-light: #c2b2e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a792d2",
  "rgb": {
    "r": 167,
    "g": 146,
    "b": 210
  },
  "hsl": {
    "h": 259.688,
    "s": 41.558,
    "l": 69.804
  },
  "oklch": {
    "l": 0.70211,
    "c": 0.09448,
    "h": 299
  },
  "luminance": 0.33426
}

Semantic roles & 50–950 ramp

primary
#A792D2
secondary
#E3E9D7
accent
#B53189
background
#FCFAFD
surface
#F8F5FB
border
#D1CFD4
text
#121015
muted
#817F83

Preview Lab

Preview with #A792D2

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

Preview Lab → · Contrast checker → · Palette generator →

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