#A795EE#A795EE

#A795EE is a light, vivid violet. Relative luminance 0.359; OKLCH L 72.1% C 0.128 H 292.2°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#A795EE
RGBrgb(167, 149, 238)
HSLhsl(252, 72%, 76%)
HSVhsv(252, 37%, 93%)
CMYKcmyk(29.8%, 37.4%, 0%, 6.7%)
CIE-LABlab(66.43, 25.88, -42.45)
CIE-LCHlch(66.43, 49.72, 301.36°)
OKLaboklab(72.08% 0.0483 -0.1185)
OKLCHoklch(72.08% 0.128 292.2)
XYZxyz(42.1125, 35.8827, 85.5797)
Luminance0.3588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A795EE #DCEE95
analogous
#95AFEE #A795EE #D395EE
triadic
#A795EE #EEA795 #95EEA7
tetradic
#A795EE #EE95AF #DCEE95 #95EED3
square
#A795EE #EE95AF #DCEE95 #95EED3
split-complementary
#A795EE #EED395 #AFEE95
monochromatic
#4F2CDD #7B60E6 #A795EE #D3CAF6 #E9E5FB

Accessibility & contrast

On white

2.57
#A795EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#A795EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A795EE
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A795EE#FFFFFF#000000##000000
##A795EE1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA3F1
Deuteranopia (green-blind)
#7DA0EC
Tritanopia (blue-blind)
#97A5B6
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a795ee;
/* rgb */ color: rgb(167, 149, 238);
/* oklch */ color: oklch(72.1% 0.128 292.2);
Tailwind
colors: {
  custom: {
    50: '#c3b4f4',
    500: '#a795ee',
    950: '#000000',
  },
}
SCSS
$custom: #a795ee;
$custom-light: #c3b4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a795ee",
  "rgb": {
    "r": 167,
    "g": 149,
    "b": 238
  },
  "hsl": {
    "h": 252.135,
    "s": 72.358,
    "l": 75.882
  },
  "oklch": {
    "l": 0.72076,
    "c": 0.128,
    "h": 292.2
  },
  "luminance": 0.35883
}

Semantic roles & 50–950 ramp

primary
#A795EE
secondary
#EDF2D9
accent
#D411AD
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #A795EE

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

Preview Lab → · Contrast checker → · Palette generator →

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