#A792FB#A792FB

#A792FB is a light, vivid violet. Relative luminance 0.357; OKLCH L 72.2% C 0.150 H 291.4°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#A792FB
RGBrgb(167, 146, 251)
HSLhsl(252, 93%, 78%)
HSVhsv(252, 42%, 98%)
CMYKcmyk(33.5%, 41.8%, 0%, 1.6%)
CIE-LABlab(66.32, 30.86, -49.75)
CIE-LCHlch(66.32, 58.54, 301.81°)
OKLaboklab(72.19% 0.0547 -0.1397)
OKLCHoklch(72.19% 0.15 291.4)
XYZxyz(43.6233, 35.7373, 95.8477)
Luminance0.3574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A792FB #E6FB92
analogous
#92B1FB #A792FB #DB92FB
triadic
#A792FB #FBA792 #92FBA7
tetradic
#A792FB #FB92B1 #E6FB92 #92FBDB
square
#A792FB #FB92B1 #E6FB92 #92FBDB
split-complementary
#A792FB #FBDB92 #B1FB92
monochromatic
#481CF7 #7757F9 #A792FB #D7CDFD #E7E1FE

Accessibility & contrast

On white

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

On black

8.15
#A792FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A792FB
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A792FB#FFFFFF#000000##000000
##A792FB1.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A3FF
Deuteranopia (green-blind)
#729FF8
Tritanopia (blue-blind)
#93A6BA
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a792fb;
/* rgb */ color: rgb(167, 146, 251);
/* oklch */ color: oklch(72.2% 0.150 291.4);
Tailwind
colors: {
  custom: {
    50: '#c4b2fd',
    500: '#a792fb',
    950: '#000000',
  },
}
SCSS
$custom: #a792fb;
$custom-light: #c4b2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a792fb",
  "rgb": {
    "r": 167,
    "g": 146,
    "b": 251
  },
  "hsl": {
    "h": 252,
    "s": 92.92,
    "l": 77.843
  },
  "oklch": {
    "l": 0.72189,
    "c": 0.15003,
    "h": 291.4
  },
  "luminance": 0.35738
}

Semantic roles & 50–950 ramp

primary
#A792FB
secondary
#EFF6D5
accent
#E600B8
background
#FCFAFF
surface
#F8F5FF
border
#D1CFD7
text
#131118
muted
#828086

Preview Lab

Preview with #A792FB

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

Preview Lab → · Contrast checker → · Palette generator →

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