#A795BF#A795BF

#A795BF is a light, moderate violet. Relative luminance 0.335; OKLCH L 70.0% C 0.064 H 304.3°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#A795BF
RGBrgb(167, 149, 191)
HSLhsl(266, 25%, 67%)
HSVhsv(266, 22%, 75%)
CMYKcmyk(12.6%, 22%, 0%, 25.1%)
CIE-LABlab(64.54, 14.89, -19.29)
CIE-LCHlch(64.54, 24.37, 307.67°)
OKLaboklab(70% 0.0358 -0.0525)
OKLCHoklch(70% 0.064 304.3)
XYZxyz(36.0860, 33.4720, 53.8398)
Luminance0.3347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A795BF #ADBF95
analogous
#9598BF #A795BF #BC95BF
triadic
#A795BF #BFA795 #95BFA7
tetradic
#A795BF #BF9598 #ADBF95 #95BFBC
square
#A795BF #BF9598 #ADBF95 #95BFBC
split-complementary
#A795BF #BFBC95 #98BF95
monochromatic
#695288 #876FA8 #A795BF #C7BBD6 #E6E1ED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A795BF#FFFFFF#000000##000000
##A795BF1.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)
#8E9CC1
Deuteranopia (green-blind)
#919DBE
Tritanopia (blue-blind)
#A49BA3
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a795bf;
/* rgb */ color: rgb(167, 149, 191);
/* oklch */ color: oklch(70.0% 0.064 304.3);
Tailwind
colors: {
  custom: {
    50: '#c1b4d2',
    500: '#a795bf',
    950: '#000000',
  },
}
SCSS
$custom: #a795bf;
$custom-light: #c1b4d2;
$custom-dark: #000000;
JSON
{
  "hex": "#a795bf",
  "rgb": {
    "r": 167,
    "g": 149,
    "b": 191
  },
  "hsl": {
    "h": 265.714,
    "s": 24.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.70003,
    "c": 0.06354,
    "h": 304.3
  },
  "luminance": 0.33472
}

Semantic roles & 50–950 ramp

primary
#A795BF
secondary
#D9DFD1
accent
#A3427A
background
#FBFBFC
surface
#F7F6F9
border
#D0D0D2
text
#121114
muted
#818082

Preview Lab

Preview with #A795BF

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

Preview Lab → · Contrast checker → · Palette generator →

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