#A792ED#A792ED

#A792ED is a light, vivid violet. Relative luminance 0.349; OKLCH L 71.5% C 0.131 H 293.4°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#A792ED
RGBrgb(167, 146, 237)
HSLhsl(254, 72%, 75%)
HSVhsv(254, 38%, 93%)
CMYKcmyk(29.5%, 38.4%, 0%, 7.1%)
CIE-LABlab(65.66, 27.33, -43.11)
CIE-LCHlch(65.66, 51.04, 302.37°)
OKLaboklab(71.47% 0.0521 -0.1204)
OKLCHoklch(71.47% 0.131 293.4)
XYZxyz(41.4975, 34.8870, 84.6519)
Luminance0.3489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A792ED #D8ED92
analogous
#92AAED #A792ED #D492ED
triadic
#A792ED #EDA792 #92EDA7
tetradic
#A792ED #ED92AA #D8ED92 #92EDD4
square
#A792ED #ED92AA #D8ED92 #92EDD4
split-complementary
#A792ED #EDD492 #AAED92
monochromatic
#5229DC #7D5DE4 #A792ED #D1C7F6 #EAE5FB

Accessibility & contrast

On white

2.63
#A792ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#A792ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A792ED
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A792ED#FFFFFF#000000##000000
##A792ED1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A1F1
Deuteranopia (green-blind)
#7A9EEB
Tritanopia (blue-blind)
#97A2B4
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a792ed;
/* rgb */ color: rgb(167, 146, 237);
/* oklch */ color: oklch(71.5% 0.131 293.4);
Tailwind
colors: {
  custom: {
    50: '#c3b2f3',
    500: '#a792ed',
    950: '#000000',
  },
}
SCSS
$custom: #a792ed;
$custom-light: #c3b2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a792ed",
  "rgb": {
    "r": 167,
    "g": 146,
    "b": 237
  },
  "hsl": {
    "h": 253.846,
    "s": 71.654,
    "l": 75.098
  },
  "oklch": {
    "l": 0.71475,
    "c": 0.13124,
    "h": 293.4
  },
  "luminance": 0.34888
}

Semantic roles & 50–950 ramp

primary
#A792ED
secondary
#ECF2D9
accent
#D412A7
background
#FCFAFE
surface
#F8F5FD
border
#D1CFD5
text
#131117
muted
#828085

Preview Lab

Preview with #A792ED

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

Preview Lab → · Contrast checker → · Palette generator →

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