#A795CD#A795CD

#A795CD is a light, moderate violet. Relative luminance 0.341; OKLCH L 70.6% C 0.083 H 299.0°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#A795CD
RGBrgb(167, 149, 205)
HSLhsl(259, 36%, 69%)
HSVhsv(259, 27%, 80%)
CMYKcmyk(18.5%, 27.3%, 0%, 19.6%)
CIE-LABlab(65.06, 17.99, -26.33)
CIE-LCHlch(65.06, 31.89, 304.35°)
OKLaboklab(70.57% 0.0401 -0.0723)
OKLCHoklch(70.57% 0.083 299)
XYZxyz(37.7009, 34.1180, 62.3450)
Luminance0.3412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A795CD #BBCD95
analogous
#959FCD #A795CD #C395CD
triadic
#A795CD #CDA795 #95CDA7
tetradic
#A795CD #CD959F #BBCD95 #95CDC3
square
#A795CD #CD959F #BBCD95 #95CDC3
split-complementary
#A795CD #CDC395 #9FCD95
monochromatic
#654A9D #846BB9 #A795CD #CABFE1 #ECE8F4

Accessibility & contrast

On white

2.68
#A795CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#A795CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A795CD
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A795CD#FFFFFF#000000##000000
##A795CD1.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#899ECF
Deuteranopia (green-blind)
#8C9DCB
Tritanopia (blue-blind)
#A09EA9
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a795cd;
/* rgb */ color: rgb(167, 149, 205);
/* oklch */ color: oklch(70.6% 0.083 299.0);
Tailwind
colors: {
  custom: {
    50: '#c1b4dc',
    500: '#a795cd',
    950: '#000000',
  },
}
SCSS
$custom: #a795cd;
$custom-light: #c1b4dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a795cd",
  "rgb": {
    "r": 167,
    "g": 149,
    "b": 205
  },
  "hsl": {
    "h": 259.286,
    "s": 35.897,
    "l": 69.412
  },
  "oklch": {
    "l": 0.70571,
    "c": 0.08268,
    "h": 299
  },
  "luminance": 0.34118
}

Semantic roles & 50–950 ramp

primary
#A795CD
secondary
#E2E7D7
accent
#AF3788
background
#FBFBFD
surface
#F7F6FB
border
#D0D0D4
text
#121115
muted
#818083

Preview Lab

Preview with #A795CD

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

Preview Lab → · Contrast checker → · Palette generator →

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