#A795EA#A795EA

#A795EA is a light, vivid violet. Relative luminance 0.357; OKLCH L 71.9% C 0.123 H 292.8°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#A795EA
RGBrgb(167, 149, 234)
HSLhsl(253, 67%, 75%)
HSVhsv(253, 36%, 92%)
CMYKcmyk(28.6%, 36.3%, 0%, 8.2%)
CIE-LABlab(66.25, 24.88, -40.53)
CIE-LCHlch(66.25, 47.56, 301.55°)
OKLaboklab(71.88% 0.0474 -0.113)
OKLCHoklch(71.88% 0.123 292.8)
XYZxyz(41.5314, 35.6502, 82.5190)
Luminance0.3565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A795EA #D8EA95
analogous
#95ADEA #A795EA #D295EA
triadic
#A795EA #EAA795 #95EAA7
tetradic
#A795EA #EA95AD #D8EA95 #95EAD2
square
#A795EA #EA95AD #D8EA95 #95EAD2
split-complementary
#A795EA #EAD295 #ADEA95
monochromatic
#522FD6 #7D62E0 #A795EA #D1C8F4 #EAE5FA

Accessibility & contrast

On white

2.58
#A795EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#A795EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A795EA
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A795EA#FFFFFF#000000##000000
##A795EA1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA2ED
Deuteranopia (green-blind)
#7FA0E8
Tritanopia (blue-blind)
#98A4B5
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a795ea;
/* rgb */ color: rgb(167, 149, 234);
/* oklch */ color: oklch(71.9% 0.123 292.8);
Tailwind
colors: {
  custom: {
    50: '#c3b4f1',
    500: '#a795ea',
    950: '#000000',
  },
}
SCSS
$custom: #a795ea;
$custom-light: #c3b4f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a795ea",
  "rgb": {
    "r": 167,
    "g": 149,
    "b": 234
  },
  "hsl": {
    "h": 252.706,
    "s": 66.929,
    "l": 75.098
  },
  "oklch": {
    "l": 0.71881,
    "c": 0.12255,
    "h": 292.8
  },
  "luminance": 0.35651
}

Semantic roles & 50–950 ramp

primary
#A795EA
secondary
#ECF1DA
accent
#CF17A8
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #A795EA

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

Preview Lab → · Contrast checker → · Palette generator →

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