#A795EF#A795EF

#A795EF is a light, vivid violet. Relative luminance 0.359; OKLCH L 72.1% C 0.129 H 292.0°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#A795EF
RGBrgb(167, 149, 239)
HSLhsl(252, 74%, 76%)
HSVhsv(252, 38%, 94%)
CMYKcmyk(30.1%, 37.7%, 0%, 6.3%)
CIE-LABlab(66.48, 26.13, -42.93)
CIE-LCHlch(66.48, 50.25, 301.32°)
OKLaboklab(72.13% 0.0485 -0.1199)
OKLCHoklch(72.13% 0.129 292)
XYZxyz(42.2599, 35.9416, 86.3555)
Luminance0.3594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A795EF #DDEF95
analogous
#95B0EF #A795EF #D495EF
triadic
#A795EF #EFA795 #95EFA7
tetradic
#A795EF #EF95B0 #DDEF95 #95EFD4
square
#A795EF #EF95B0 #DDEF95 #95EFD4
split-complementary
#A795EF #EFD495 #B0EF95
monochromatic
#4F2BDF #7B60E7 #A795EF #D3CAF7 #E9E4FB

Accessibility & contrast

On white

2.56
#A795EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#A795EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A795EF
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A795EF#FFFFFF#000000##000000
##A795EF1.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA3F2
Deuteranopia (green-blind)
#7DA0ED
Tritanopia (blue-blind)
#97A5B7
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a795ef;
/* rgb */ color: rgb(167, 149, 239);
/* oklch */ color: oklch(72.1% 0.129 292.0);
Tailwind
colors: {
  custom: {
    50: '#c3b4f4',
    500: '#a795ef',
    950: '#000000',
  },
}
SCSS
$custom: #a795ef;
$custom-light: #c3b4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a795ef",
  "rgb": {
    "r": 167,
    "g": 149,
    "b": 239
  },
  "hsl": {
    "h": 252,
    "s": 73.77,
    "l": 76.078
  },
  "oklch": {
    "l": 0.72125,
    "c": 0.12935,
    "h": 292
  },
  "luminance": 0.35942
}

Semantic roles & 50–950 ramp

primary
#A795EF
secondary
#EDF3D8
accent
#D610AE
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #A795EF

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

Preview Lab → · Contrast checker → · Palette generator →

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