#A792DB#A792DB

#A792DB is a light, moderate violet. Relative luminance 0.339; OKLCH L 70.6% C 0.107 H 296.8°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#A792DB
RGBrgb(167, 146, 219)
HSLhsl(257, 50%, 72%)
HSVhsv(257, 33%, 86%)
CMYKcmyk(23.7%, 33.3%, 0%, 14.1%)
CIE-LABlab(64.87, 22.95, -34.39)
CIE-LCHlch(64.87, 41.35, 303.71°)
OKLaboklab(70.62% 0.0481 -0.0953)
OKLCHoklch(70.62% 0.107 296.8)
XYZxyz(38.9985, 33.8874, 71.4904)
Luminance0.3389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A792DB #C6DB92
analogous
#92A2DB #A792DB #CC92DB
triadic
#A792DB #DBA792 #92DBA7
tetradic
#A792DB #DB92A2 #C6DB92 #92DBCC
square
#A792DB #DB92A2 #C6DB92 #92DBCC
split-complementary
#A792DB #DBCC92 #A2DB92
monochromatic
#5F3CB6 #8264CC #A792DB #CCC0EA #ECE8F7

Accessibility & contrast

On white

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

On black

7.78
#A792DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A792DB
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A792DB#FFFFFF#000000##000000
##A792DB1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a792db;
/* rgb */ color: rgb(167, 146, 219);
/* oklch */ color: oklch(70.6% 0.107 296.8);
Tailwind
colors: {
  custom: {
    50: '#c2b2e6',
    500: '#a792db',
    950: '#000000',
  },
}
SCSS
$custom: #a792db;
$custom-light: #c2b2e6;
$custom-dark: #000000;
JSON
{
  "hex": "#a792db",
  "rgb": {
    "r": 167,
    "g": 146,
    "b": 219
  },
  "hsl": {
    "h": 257.26,
    "s": 50.345,
    "l": 71.569
  },
  "oklch": {
    "l": 0.70615,
    "c": 0.10677,
    "h": 296.8
  },
  "luminance": 0.33888
}

Semantic roles & 50–950 ramp

primary
#A792DB
secondary
#E8EEDB
accent
#BE2893
background
#FCFAFE
surface
#F8F5FC
border
#D1CFD5
text
#121016
muted
#817F84

Preview Lab

Preview with #A792DB

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

Preview Lab → · Contrast checker → · Palette generator →

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