#A795FB#A795FB

#A795FB is a light, vivid violet. Relative luminance 0.367; OKLCH L 72.7% C 0.146 H 290.4°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#A795FB
RGBrgb(167, 149, 251)
HSLhsl(251, 93%, 78%)
HSVhsv(251, 41%, 98%)
CMYKcmyk(33.5%, 40.6%, 0%, 1.6%)
CIE-LABlab(67.03, 29.16, -48.62)
CIE-LCHlch(67.03, 56.70, 300.95°)
OKLaboklab(72.73% 0.0508 -0.1364)
OKLCHoklch(72.73% 0.146 290.4)
XYZxyz(44.0918, 36.6744, 96.0039)
Luminance0.3668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A795FB #E9FB95
analogous
#95B6FB #A795FB #DA95FB
triadic
#A795FB #FBA795 #95FBA7
tetradic
#A795FB #FB95B6 #E9FB95 #95FBDA
square
#A795FB #FB95B6 #E9FB95 #95FBDA
split-complementary
#A795FB #FBDA95 #B6FB95
monochromatic
#451FF7 #765AF9 #A795FB #D8D0FD #E7E2FE

Accessibility & contrast

On white

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

On black

8.33
#A795FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A795FB
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A795FB#FFFFFF#000000##000000
##A795FB1.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a795fb;
/* rgb */ color: rgb(167, 149, 251);
/* oklch */ color: oklch(72.7% 0.146 290.4);
Tailwind
colors: {
  custom: {
    50: '#c4b4fd',
    500: '#a795fb',
    950: '#000000',
  },
}
SCSS
$custom: #a795fb;
$custom-light: #c4b4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a795fb",
  "rgb": {
    "r": 167,
    "g": 149,
    "b": 251
  },
  "hsl": {
    "h": 250.588,
    "s": 92.727,
    "l": 78.431
  },
  "oklch": {
    "l": 0.7273,
    "c": 0.14559,
    "h": 290.4
  },
  "luminance": 0.36675
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A795FB

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

Preview Lab → · Contrast checker → · Palette generator →

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