#A795CC#A795CC

#A795CC is a light, moderate violet. Relative luminance 0.341; OKLCH L 70.5% C 0.081 H 299.3°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#A795CC
RGBrgb(167, 149, 204)
HSLhsl(260, 35%, 69%)
HSVhsv(260, 27%, 80%)
CMYKcmyk(18.1%, 27%, 0%, 20%)
CIE-LABlab(65.02, 17.77, -25.83)
CIE-LCHlch(65.02, 31.35, 304.53°)
OKLaboklab(70.53% 0.0398 -0.0709)
OKLCHoklch(70.53% 0.081 299.3)
XYZxyz(37.5806, 34.0699, 61.7113)
Luminance0.3407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A795CC #BACC95
analogous
#959FCC #A795CC #C395CC
triadic
#A795CC #CCA795 #95CCA7
tetradic
#A795CC #CC959F #BACC95 #95CCC3
square
#A795CC #CC959F #BACC95 #95CCC3
split-complementary
#A795CC #CCC395 #9FCC95
monochromatic
#654B9C #856CB8 #A795CC #C9BEE0 #ECE8F4

Accessibility & contrast

On white

2.69
#A795CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#A795CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A795CC
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A795CC#FFFFFF#000000##000000
##A795CC1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#899ECE
Deuteranopia (green-blind)
#8C9DCA
Tritanopia (blue-blind)
#A19DA8
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a795cc;
/* rgb */ color: rgb(167, 149, 204);
/* oklch */ color: oklch(70.5% 0.081 299.3);
Tailwind
colors: {
  custom: {
    50: '#c1b4db',
    500: '#a795cc',
    950: '#000000',
  },
}
SCSS
$custom: #a795cc;
$custom-light: #c1b4db;
$custom-dark: #000000;
JSON
{
  "hex": "#a795cc",
  "rgb": {
    "r": 167,
    "g": 149,
    "b": 204
  },
  "hsl": {
    "h": 259.636,
    "s": 35.032,
    "l": 69.216
  },
  "oklch": {
    "l": 0.70529,
    "c": 0.08129,
    "h": 299.3
  },
  "luminance": 0.3407
}

Semantic roles & 50–950 ramp

primary
#A795CC
secondary
#E1E6D6
accent
#AE3887
background
#FBFBFD
surface
#F7F6FB
border
#D0D0D4
text
#121115
muted
#818083

Preview Lab

Preview with #A795CC

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

Preview Lab → · Contrast checker → · Palette generator →

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