#A795FC#A795FC

#A795FC is a light, vivid violet. Relative luminance 0.367; OKLCH L 72.8% C 0.147 H 290.3°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#A795FC
RGBrgb(167, 149, 252)
HSLhsl(250, 94%, 79%)
HSVhsv(250, 41%, 99%)
CMYKcmyk(33.7%, 40.9%, 0%, 1.2%)
CIE-LABlab(67.08, 29.42, -49.09)
CIE-LCHlch(67.08, 57.23, 300.93°)
OKLaboklab(72.78% 0.0509 -0.1378)
OKLCHoklch(72.78% 0.147 290.3)
XYZxyz(44.2499, 36.7376, 96.8363)
Luminance0.3674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A795FC #EAFC95
analogous
#95B6FC #A795FC #DA95FC
triadic
#A795FC #FCA795 #95FCA7
tetradic
#A795FC #FC95B6 #EAFC95 #95FCDA
square
#A795FC #FC95B6 #EAFC95 #95FCDA
split-complementary
#A795FC #FCDA95 #B6FC95
monochromatic
#441EF9 #7659FA #A795FC #D8D1FE #E6E1FE

Accessibility & contrast

On white

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

On black

8.35
#A795FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A795FC
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A795FC#FFFFFF#000000##000000
##A795FC1.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a795fc;
/* rgb */ color: rgb(167, 149, 252);
/* oklch */ color: oklch(72.8% 0.147 290.3);
Tailwind
colors: {
  custom: {
    50: '#c4b4fe',
    500: '#a795fc',
    950: '#000000',
  },
}
SCSS
$custom: #a795fc;
$custom-light: #c4b4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#a795fc",
  "rgb": {
    "r": 167,
    "g": 149,
    "b": 252
  },
  "hsl": {
    "h": 250.485,
    "s": 94.495,
    "l": 78.627
  },
  "oklch": {
    "l": 0.72782,
    "c": 0.14692,
    "h": 290.3
  },
  "luminance": 0.36739
}

Semantic roles & 50–950 ramp

primary
#A795FC
secondary
#F0F6D5
accent
#E600BD
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #A795FC

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

Preview Lab → · Contrast checker → · Palette generator →

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