#A795EB#A795EB

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

Color values

HEX#A795EB
RGBrgb(167, 149, 235)
HSLhsl(253, 68%, 75%)
HSVhsv(253, 37%, 92%)
CMYKcmyk(28.9%, 36.6%, 0%, 7.8%)
CIE-LABlab(66.30, 25.13, -41.01)
CIE-LCHlch(66.30, 48.10, 301.50°)
OKLaboklab(71.93% 0.0477 -0.1144)
OKLCHoklch(71.93% 0.124 292.6)
XYZxyz(41.6755, 35.7078, 83.2778)
Luminance0.3571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A795EB #D9EB95
analogous
#95AEEB #A795EB #D295EB
triadic
#A795EB #EBA795 #95EBA7
tetradic
#A795EB #EB95AE #D9EB95 #95EBD2
square
#A795EB #EB95AE #D9EB95 #95EBD2
split-complementary
#A795EB #EBD295 #AEEB95
monochromatic
#522ED8 #7C62E1 #A795EB #D2C8F5 #EAE5FA

Accessibility & contrast

On white

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

On black

8.14
#A795EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A795EB
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A795EB#FFFFFF#000000##000000
##A795EB1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a795eb;
/* rgb */ color: rgb(167, 149, 235);
/* oklch */ color: oklch(71.9% 0.124 292.6);
Tailwind
colors: {
  custom: {
    50: '#c3b4f2',
    500: '#a795eb',
    950: '#000000',
  },
}
SCSS
$custom: #a795eb;
$custom-light: #c3b4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a795eb",
  "rgb": {
    "r": 167,
    "g": 149,
    "b": 235
  },
  "hsl": {
    "h": 252.558,
    "s": 68.254,
    "l": 75.294
  },
  "oklch": {
    "l": 0.71929,
    "c": 0.1239,
    "h": 292.6
  },
  "luminance": 0.35709
}

Semantic roles & 50–950 ramp

primary
#A795EB
secondary
#EDF2D9
accent
#D015A9
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #A795EB

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

Preview Lab → · Contrast checker → · Palette generator →

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