#A795FF#A795FF

#A795FF is a light, vivid violet. Relative luminance 0.369; OKLCH L 72.9% C 0.151 H 289.9°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#A795FF
RGBrgb(167, 149, 255)
HSLhsl(250, 100%, 79%)
HSVhsv(250, 42%, 100%)
CMYKcmyk(34.5%, 41.6%, 0%, 0%)
CIE-LABlab(67.22, 30.19, -50.50)
CIE-LCHlch(67.22, 58.84, 300.87°)
OKLaboklab(72.94% 0.0515 -0.1419)
OKLCHoklch(72.94% 0.151 289.9)
XYZxyz(44.7290, 36.9293, 99.3598)
Luminance0.3693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A795FF #EDFF95
analogous
#95B8FF #A795FF #DC95FF
triadic
#A795FF #FFA795 #95FFA7
tetradic
#A795FF #FF95B8 #EDFF95 #95FFDC
square
#A795FF #FF95B8 #EDFF95 #95FFDC
split-complementary
#A795FF #FFDC95 #B8FF95
monochromatic
#411BFF #7458FF #A795FF #DAD2FF #E6E0FF

Accessibility & contrast

On white

2.50
#A795FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#A795FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A795FF
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A795FF#FFFFFF#000000##000000
##A795FF1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A6FF
Deuteranopia (green-blind)
#73A1FC
Tritanopia (blue-blind)
#91A9BE
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a795ff;
/* rgb */ color: rgb(167, 149, 255);
/* oklch */ color: oklch(72.9% 0.151 289.9);
Tailwind
colors: {
  custom: {
    50: '#c4b4ff',
    500: '#a795ff',
    950: '#000000',
  },
}
SCSS
$custom: #a795ff;
$custom-light: #c4b4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a795ff",
  "rgb": {
    "r": 167,
    "g": 149,
    "b": 255
  },
  "hsl": {
    "h": 250.189,
    "s": 100,
    "l": 79.216
  },
  "oklch": {
    "l": 0.72939,
    "c": 0.15095,
    "h": 289.9
  },
  "luminance": 0.3693
}

Semantic roles & 50–950 ramp

primary
#A795FF
secondary
#F1F7D4
accent
#E600BF
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #A795FF

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

Preview Lab → · Contrast checker → · Palette generator →

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