#A795DB#A795DB

#A795DB is a light, moderate violet. Relative luminance 0.348; OKLCH L 71.2% C 0.102 H 295.5°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#A795DB
RGBrgb(167, 149, 219)
HSLhsl(255, 49%, 72%)
HSVhsv(255, 32%, 86%)
CMYKcmyk(23.7%, 32%, 0%, 14.1%)
CIE-LABlab(65.61, 21.25, -33.25)
CIE-LCHlch(65.61, 39.46, 302.58°)
OKLaboklab(71.18% 0.0439 -0.092)
OKLCHoklch(71.18% 0.102 295.5)
XYZxyz(39.4670, 34.8245, 71.6466)
Luminance0.3483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A795DB #C9DB95
analogous
#95A6DB #A795DB #CA95DB
triadic
#A795DB #DBA795 #95DBA7
tetradic
#A795DB #DB95A6 #C9DB95 #95DBCA
square
#A795DB #DB95A6 #C9DB95 #95DBCA
split-complementary
#A795DB #DBCA95 #A6DB95
monochromatic
#5D3EB7 #8167CB #A795DB #CDC3EB #ECE8F7

Accessibility & contrast

On white

2.64
#A795DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#A795DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A795DB
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A795DB#FFFFFF#000000##000000
##A795DB1.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A0DE
Deuteranopia (green-blind)
#869ED9
Tritanopia (blue-blind)
#9DA1AE
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a795db;
/* rgb */ color: rgb(167, 149, 219);
/* oklch */ color: oklch(71.2% 0.102 295.5);
Tailwind
colors: {
  custom: {
    50: '#c2b4e6',
    500: '#a795db',
    950: '#000000',
  },
}
SCSS
$custom: #a795db;
$custom-light: #c2b4e6;
$custom-dark: #000000;
JSON
{
  "hex": "#a795db",
  "rgb": {
    "r": 167,
    "g": 149,
    "b": 219
  },
  "hsl": {
    "h": 255.429,
    "s": 49.296,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71181,
    "c": 0.10196,
    "h": 295.5
  },
  "luminance": 0.34825
}

Semantic roles & 50–950 ramp

primary
#A795DB
secondary
#EAEEDD
accent
#BD2997
background
#FCFBFE
surface
#F8F6FC
border
#D1D0D5
text
#121116
muted
#818084

Preview Lab

Preview with #A795DB

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

Preview Lab → · Contrast checker → · Palette generator →

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