#A795FA#A795FA

#A795FA is a light, vivid violet. Relative luminance 0.366; OKLCH L 72.7% C 0.144 H 290.5°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#A795FA
RGBrgb(167, 149, 250)
HSLhsl(251, 91%, 78%)
HSVhsv(251, 40%, 98%)
CMYKcmyk(33.2%, 40.4%, 0%, 2%)
CIE-LABlab(66.98, 28.91, -48.15)
CIE-LCHlch(66.98, 56.16, 300.98°)
OKLaboklab(72.68% 0.0506 -0.1351)
OKLCHoklch(72.68% 0.144 290.5)
XYZxyz(43.9346, 36.6115, 95.1759)
Luminance0.3661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A795FA #E8FA95
analogous
#95B5FA #A795FA #D995FA
triadic
#A795FA #FAA795 #95FAA7
tetradic
#A795FA #FA95B5 #E8FA95 #95FAD9
square
#A795FA #FA95B5 #E8FA95 #95FAD9
split-complementary
#A795FA #FAD995 #B5FA95
monochromatic
#4620F4 #765BF7 #A795FA #D8CFFD #E7E2FE

Accessibility & contrast

On white

2.52
#A795FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#A795FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A795FA
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A795FA#FFFFFF#000000##000000
##A795FA1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A5FE
Deuteranopia (green-blind)
#76A1F8
Tritanopia (blue-blind)
#93A8BC
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a795fa;
/* rgb */ color: rgb(167, 149, 250);
/* oklch */ color: oklch(72.7% 0.144 290.5);
Tailwind
colors: {
  custom: {
    50: '#c4b4fc',
    500: '#a795fa',
    950: '#000000',
  },
}
SCSS
$custom: #a795fa;
$custom-light: #c4b4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a795fa",
  "rgb": {
    "r": 167,
    "g": 149,
    "b": 250
  },
  "hsl": {
    "h": 250.693,
    "s": 90.991,
    "l": 78.235
  },
  "oklch": {
    "l": 0.72679,
    "c": 0.14424,
    "h": 290.5
  },
  "luminance": 0.36613
}

Semantic roles & 50–950 ramp

primary
#A795FA
secondary
#F0F6D5
accent
#E600BD
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #A795FA

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

Preview Lab → · Contrast checker → · Palette generator →

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