#A795DF#A795DF

#A795DF is a light, moderate violet. Relative luminance 0.350; OKLCH L 71.4% C 0.107 H 294.7°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#A795DF
RGBrgb(167, 149, 223)
HSLhsl(255, 54%, 73%)
HSVhsv(255, 33%, 87%)
CMYKcmyk(25.1%, 33.2%, 0%, 12.5%)
CIE-LABlab(65.78, 22.20, -35.20)
CIE-LCHlch(65.78, 41.62, 302.24°)
OKLaboklab(71.36% 0.0449 -0.0976)
OKLCHoklch(71.36% 0.107 294.7)
XYZxyz(39.9999, 35.0376, 74.4533)
Luminance0.3504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A795DF #CDDF95
analogous
#95A8DF #A795DF #CC95DF
triadic
#A795DF #DFA795 #95DFA7
tetradic
#A795DF #DF95A8 #CDDF95 #95DFCC
square
#A795DF #DF95A8 #CDDF95 #95DFCC
split-complementary
#A795DF #DFCC95 #A8DF95
monochromatic
#5A3AC0 #8066D1 #A795DF #CEC4ED #EBE7F8

Accessibility & contrast

On white

2.62
#A795DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#A795DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A795DF
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A795DF#FFFFFF#000000##000000
##A795DF1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A0E2
Deuteranopia (green-blind)
#849FDD
Tritanopia (blue-blind)
#9CA1B0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a795df;
/* rgb */ color: rgb(167, 149, 223);
/* oklch */ color: oklch(71.4% 0.107 294.7);
Tailwind
colors: {
  custom: {
    50: '#c2b4e9',
    500: '#a795df',
    950: '#000000',
  },
}
SCSS
$custom: #a795df;
$custom-light: #c2b4e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a795df",
  "rgb": {
    "r": 167,
    "g": 149,
    "b": 223
  },
  "hsl": {
    "h": 254.595,
    "s": 53.623,
    "l": 72.941
  },
  "oklch": {
    "l": 0.71363,
    "c": 0.10747,
    "h": 294.7
  },
  "luminance": 0.35038
}

Semantic roles & 50–950 ramp

primary
#A795DF
secondary
#EAEFDC
accent
#C1249B
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#121116
muted
#818084

Preview Lab

Preview with #A795DF

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

Preview Lab → · Contrast checker → · Palette generator →

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