#A795FD#A795FD

#A795FD is a light, vivid violet. Relative luminance 0.368; OKLCH L 72.8% C 0.148 H 290.2°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#A795FD
RGBrgb(167, 149, 253)
HSLhsl(250, 96%, 79%)
HSVhsv(250, 41%, 99%)
CMYKcmyk(34%, 41.1%, 0%, 0.8%)
CIE-LABlab(67.13, 29.67, -49.56)
CIE-LCHlch(67.13, 57.77, 300.91°)
OKLaboklab(72.83% 0.0511 -0.1392)
OKLCHoklch(72.83% 0.148 290.2)
XYZxyz(44.4087, 36.8012, 97.6730)
Luminance0.3680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A795FD #EBFD95
analogous
#95B7FD #A795FD #DB95FD
triadic
#A795FD #FDA795 #95FDA7
tetradic
#A795FD #FD95B7 #EBFD95 #95FDDB
square
#A795FD #FD95B7 #EBFD95 #95FDDB
split-complementary
#A795FD #FDDB95 #B7FD95
monochromatic
#431DFB #7559FC #A795FD #D9D1FE #E6E1FE

Accessibility & contrast

On white

2.51
#A795FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#A795FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A795FD
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A795FD#FFFFFF#000000##000000
##A795FD1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A5FF
Deuteranopia (green-blind)
#75A1FA
Tritanopia (blue-blind)
#92A9BD
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a795fd;
/* rgb */ color: rgb(167, 149, 253);
/* oklch */ color: oklch(72.8% 0.148 290.2);
Tailwind
colors: {
  custom: {
    50: '#c4b4fe',
    500: '#a795fd',
    950: '#000000',
  },
}
SCSS
$custom: #a795fd;
$custom-light: #c4b4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#a795fd",
  "rgb": {
    "r": 167,
    "g": 149,
    "b": 253
  },
  "hsl": {
    "h": 250.385,
    "s": 96.296,
    "l": 78.824
  },
  "oklch": {
    "l": 0.72834,
    "c": 0.14827,
    "h": 290.2
  },
  "luminance": 0.36802
}

Semantic roles & 50–950 ramp

primary
#A795FD
secondary
#F1F7D4
accent
#E600BE
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #A795FD

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

Preview Lab → · Contrast checker → · Palette generator →

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