#A792FC#A792FC

#A792FC is a light, vivid violet. Relative luminance 0.358; OKLCH L 72.2% C 0.151 H 291.2°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#A792FC
RGBrgb(167, 146, 252)
HSLhsl(252, 95%, 78%)
HSVhsv(252, 42%, 99%)
CMYKcmyk(33.7%, 42.1%, 0%, 1.2%)
CIE-LABlab(66.37, 31.12, -50.22)
CIE-LCHlch(66.37, 59.08, 301.78°)
OKLaboklab(72.24% 0.0548 -0.1411)
OKLCHoklch(72.24% 0.151 291.2)
XYZxyz(43.7813, 35.8005, 96.6801)
Luminance0.3580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A792FC #E7FC92
analogous
#92B2FC #A792FC #DC92FC
triadic
#A792FC #FCA792 #92FCA7
tetradic
#A792FC #FC92B2 #E7FC92 #92FCDC
square
#A792FC #FC92B2 #E7FC92 #92FCDC
split-complementary
#A792FC #FCDC92 #B2FC92
monochromatic
#471BF9 #7756FA #A792FC #D7CEFE #E7E1FE

Accessibility & contrast

On white

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

On black

8.16
#A792FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A792FC
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A792FC#FFFFFF#000000##000000
##A792FC1.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A3FF
Deuteranopia (green-blind)
#729FF9
Tritanopia (blue-blind)
#92A6BB
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a792fc;
/* rgb */ color: rgb(167, 146, 252);
/* oklch */ color: oklch(72.2% 0.151 291.2);
Tailwind
colors: {
  custom: {
    50: '#c4b2fe',
    500: '#a792fc',
    950: '#000000',
  },
}
SCSS
$custom: #a792fc;
$custom-light: #c4b2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#a792fc",
  "rgb": {
    "r": 167,
    "g": 146,
    "b": 252
  },
  "hsl": {
    "h": 251.887,
    "s": 94.643,
    "l": 78.039
  },
  "oklch": {
    "l": 0.72242,
    "c": 0.15137,
    "h": 291.2
  },
  "luminance": 0.35802
}

Semantic roles & 50–950 ramp

primary
#A792FC
secondary
#F0F6D5
accent
#E600B8
background
#FCFAFF
surface
#F8F5FF
border
#D1CFD7
text
#131118
muted
#828086

Preview Lab

Preview with #A792FC

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

Preview Lab → · Contrast checker → · Palette generator →

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