#A795BE#A795BE

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

Color values

HEX#A795BE
RGBrgb(167, 149, 190)
HSLhsl(266, 24%, 66%)
HSVhsv(266, 22%, 75%)
CMYKcmyk(12.1%, 21.6%, 0%, 25.5%)
CIE-LABlab(64.51, 14.67, -18.78)
CIE-LCHlch(64.51, 23.84, 308.00°)
OKLaboklab(69.97% 0.0355 -0.0511)
OKLCHoklch(69.97% 0.062 304.8)
XYZxyz(35.9763, 33.4282, 53.2622)
Luminance0.3343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A795BE #ACBE95
analogous
#9598BE #A795BE #BC95BE
triadic
#A795BE #BEA795 #95BEA7
tetradic
#A795BE #BE9598 #ACBE95 #95BEBC
square
#A795BE #BE9598 #ACBE95 #95BEBC
split-complementary
#A795BE #BEBC95 #98BE95
monochromatic
#695286 #886FA7 #A795BE #C6BBD5 #E6E1ED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A795BE#FFFFFF#000000##000000
##A795BE1.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)
#8E9CC0
Deuteranopia (green-blind)
#919CBD
Tritanopia (blue-blind)
#A49AA3
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a795be;
/* rgb */ color: rgb(167, 149, 190);
/* oklch */ color: oklch(70.0% 0.062 304.8);
Tailwind
colors: {
  custom: {
    50: '#c1b4d1',
    500: '#a795be',
    950: '#000000',
  },
}
SCSS
$custom: #a795be;
$custom-light: #c1b4d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a795be",
  "rgb": {
    "r": 167,
    "g": 149,
    "b": 190
  },
  "hsl": {
    "h": 266.341,
    "s": 23.977,
    "l": 66.471
  },
  "oklch": {
    "l": 0.69965,
    "c": 0.06219,
    "h": 304.8
  },
  "luminance": 0.33428
}

Semantic roles & 50–950 ramp

primary
#A795BE
secondary
#D8DED1
accent
#A24379
background
#FBFBFC
surface
#F7F6F9
border
#D0D0D2
text
#121114
muted
#818082

Preview Lab

Preview with #A795BE

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

Preview Lab → · Contrast checker → · Palette generator →

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