#A792FA#A792FA

#A792FA is a light, vivid violet. Relative luminance 0.357; OKLCH L 72.1% C 0.149 H 291.5°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#A792FA
RGBrgb(167, 146, 250)
HSLhsl(252, 91%, 78%)
HSVhsv(252, 42%, 98%)
CMYKcmyk(33.2%, 41.6%, 0%, 2%)
CIE-LABlab(66.27, 30.61, -49.28)
CIE-LCHlch(66.27, 58.01, 301.84°)
OKLaboklab(72.14% 0.0545 -0.1383)
OKLCHoklch(72.14% 0.149 291.5)
XYZxyz(43.4661, 35.6744, 95.0197)
Luminance0.3568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A792FA #E5FA92
analogous
#92B1FA #A792FA #DB92FA
triadic
#A792FA #FAA792 #92FAA7
tetradic
#A792FA #FA92B1 #E5FA92 #92FADB
square
#A792FA #FA92B1 #E5FA92 #92FADB
split-complementary
#A792FA #FADB92 #B1FA92
monochromatic
#491DF5 #7857F7 #A792FA #D6CDFD #E7E2FE

Accessibility & contrast

On white

2.58
#A792FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#A792FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A792FA
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A792FA#FFFFFF#000000##000000
##A792FA1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A3FE
Deuteranopia (green-blind)
#739FF7
Tritanopia (blue-blind)
#93A5BA
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a792fa;
/* rgb */ color: rgb(167, 146, 250);
/* oklch */ color: oklch(72.1% 0.149 291.5);
Tailwind
colors: {
  custom: {
    50: '#c4b2fc',
    500: '#a792fa',
    950: '#000000',
  },
}
SCSS
$custom: #a792fa;
$custom-light: #c4b2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a792fa",
  "rgb": {
    "r": 167,
    "g": 146,
    "b": 250
  },
  "hsl": {
    "h": 252.115,
    "s": 91.228,
    "l": 77.647
  },
  "oklch": {
    "l": 0.72137,
    "c": 0.1487,
    "h": 291.5
  },
  "luminance": 0.35675
}

Semantic roles & 50–950 ramp

primary
#A792FA
secondary
#EFF6D5
accent
#E600B7
background
#FCFAFF
surface
#F8F5FF
border
#D1CFD7
text
#131117
muted
#828085

Preview Lab

Preview with #A792FA

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

Preview Lab → · Contrast checker → · Palette generator →

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