#A795BC#A795BC

#A795BC is a light, muted violet. Relative luminance 0.333; OKLCH L 69.9% C 0.059 H 305.8°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#A795BC
RGBrgb(167, 149, 188)
HSLhsl(268, 23%, 66%)
HSVhsv(268, 21%, 74%)
CMYKcmyk(11.2%, 20.7%, 0%, 26.3%)
CIE-LABlab(64.44, 14.25, -17.77)
CIE-LCHlch(64.44, 22.77, 308.73°)
OKLaboklab(69.89% 0.0348 -0.0482)
OKLCHoklch(69.89% 0.06 305.8)
XYZxyz(35.7592, 33.3413, 52.1189)
Luminance0.3334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A795BC #AABC95
analogous
#9596BC #A795BC #BA95BC
triadic
#A795BC #BCA795 #95BCA7
tetradic
#A795BC #BC9596 #AABC95 #95BCBA
square
#A795BC #BC9596 #AABC95 #95BCBA
split-complementary
#A795BC #BCBA95 #96BC95
monochromatic
#695383 #8870A4 #A795BC #C6BAD4 #E5E0EB

Accessibility & contrast

On white

2.74
#A795BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#A795BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A795BC
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A795BC#FFFFFF#000000##000000
##A795BC1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E9CBE
Deuteranopia (green-blind)
#929CBB
Tritanopia (blue-blind)
#A49AA2
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a795bc;
/* rgb */ color: rgb(167, 149, 188);
/* oklch */ color: oklch(69.9% 0.059 305.8);
Tailwind
colors: {
  custom: {
    50: '#c1b4d0',
    500: '#a795bc',
    950: '#000000',
  },
}
SCSS
$custom: #a795bc;
$custom-light: #c1b4d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a795bc",
  "rgb": {
    "r": 167,
    "g": 149,
    "b": 188
  },
  "hsl": {
    "h": 267.692,
    "s": 22.543,
    "l": 66.078
  },
  "oklch": {
    "l": 0.69888,
    "c": 0.0595,
    "h": 305.8
  },
  "luminance": 0.33341
}

Semantic roles & 50–950 ramp

primary
#A795BC
secondary
#D7DDD0
accent
#A14576
background
#FBFBFC
surface
#F7F6F9
border
#D0D0D2
text
#121114
muted
#818082

Preview Lab

Preview with #A795BC

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

Preview Lab → · Contrast checker → · Palette generator →

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