#A792FE#A792FE

#A792FE is a light, vivid violet. Relative luminance 0.359; OKLCH L 72.3% C 0.154 H 291.0°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#A792FE
RGBrgb(167, 146, 254)
HSLhsl(252, 98%, 78%)
HSVhsv(252, 43%, 100%)
CMYKcmyk(34.3%, 42.5%, 0%, 0.4%)
CIE-LABlab(66.46, 31.63, -51.16)
CIE-LCHlch(66.46, 60.14, 301.73°)
OKLaboklab(72.35% 0.0551 -0.1438)
OKLCHoklch(72.35% 0.154 291)
XYZxyz(44.0999, 35.9280, 98.3580)
Luminance0.3593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A792FE #E9FE92
analogous
#92B3FE #A792FE #DD92FE
triadic
#A792FE #FEA792 #92FEA7
tetradic
#A792FE #FE92B3 #E9FE92 #92FEDD
square
#A792FE #FE92B3 #E9FE92 #92FEDD
split-complementary
#A792FE #FEDD92 #B3FE92
monochromatic
#4519FD #7655FD #A792FE #D8CFFF #E7E1FF

Accessibility & contrast

On white

2.57
#A792FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#A792FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A792FE
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A792FE#FFFFFF#000000##000000
##A792FE1.002.578.198.19
#FFFFFF2.571.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA3FF
Deuteranopia (green-blind)
#709FFB
Tritanopia (blue-blind)
#92A6BC
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a792fe;
/* rgb */ color: rgb(167, 146, 254);
/* oklch */ color: oklch(72.3% 0.154 291.0);
Tailwind
colors: {
  custom: {
    50: '#c4b2ff',
    500: '#a792fe',
    950: '#000000',
  },
}
SCSS
$custom: #a792fe;
$custom-light: #c4b2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a792fe",
  "rgb": {
    "r": 167,
    "g": 146,
    "b": 254
  },
  "hsl": {
    "h": 251.667,
    "s": 98.182,
    "l": 78.431
  },
  "oklch": {
    "l": 0.72348,
    "c": 0.15403,
    "h": 291
  },
  "luminance": 0.35929
}

Semantic roles & 50–950 ramp

primary
#A792FE
secondary
#F0F7D4
accent
#E600B9
background
#FCFAFF
surface
#F8F5FF
border
#D1CFD7
text
#131118
muted
#828086

Preview Lab

Preview with #A792FE

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

Preview Lab → · Contrast checker → · Palette generator →

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