#A795CA#A795CA

#A795CA is a light, moderate violet. Relative luminance 0.340; OKLCH L 70.4% C 0.079 H 300.0°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#A795CA
RGBrgb(167, 149, 202)
HSLhsl(260, 33%, 69%)
HSVhsv(260, 26%, 79%)
CMYKcmyk(17.3%, 26.2%, 0%, 20.8%)
CIE-LABlab(64.94, 17.32, -24.83)
CIE-LCHlch(64.94, 30.27, 304.89°)
OKLaboklab(70.45% 0.0392 -0.0681)
OKLCHoklch(70.45% 0.079 300)
XYZxyz(37.3422, 33.9746, 60.4561)
Luminance0.3397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A795CA #B8CA95
analogous
#959ECA #A795CA #C295CA
triadic
#A795CA #CAA795 #95CAA7
tetradic
#A795CA #CA959E #B8CA95 #95CAC2
square
#A795CA #CA959E #B8CA95 #95CAC2
split-complementary
#A795CA #CAC295 #9ECA95
monochromatic
#664C98 #856CB6 #A795CA #C9BEDE #EBE7F3

Accessibility & contrast

On white

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

On black

7.79
#A795CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A795CA
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A795CA#FFFFFF#000000##000000
##A795CA1.002.697.797.79
#FFFFFF2.691.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A9DCC
Deuteranopia (green-blind)
#8D9DC8
Tritanopia (blue-blind)
#A19DA8
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a795ca;
/* rgb */ color: rgb(167, 149, 202);
/* oklch */ color: oklch(70.4% 0.079 300.0);
Tailwind
colors: {
  custom: {
    50: '#c1b4da',
    500: '#a795ca',
    950: '#000000',
  },
}
SCSS
$custom: #a795ca;
$custom-light: #c1b4da;
$custom-dark: #000000;
JSON
{
  "hex": "#a795ca",
  "rgb": {
    "r": 167,
    "g": 149,
    "b": 202
  },
  "hsl": {
    "h": 260.377,
    "s": 33.333,
    "l": 68.824
  },
  "oklch": {
    "l": 0.70446,
    "c": 0.07855,
    "h": 300
  },
  "luminance": 0.33975
}

Semantic roles & 50–950 ramp

primary
#A795CA
secondary
#E0E5D6
accent
#AC3985
background
#FBFBFD
surface
#F7F6FA
border
#D0D0D3
text
#121114
muted
#818083

Preview Lab

Preview with #A795CA

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

Preview Lab → · Contrast checker → · Palette generator →

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