#A792FD#A792FD

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

Color values

HEX#A792FD
RGBrgb(167, 146, 253)
HSLhsl(252, 96%, 78%)
HSVhsv(252, 42%, 99%)
CMYKcmyk(34%, 42.3%, 0%, 0.8%)
CIE-LABlab(66.42, 31.37, -50.69)
CIE-LCHlch(66.42, 59.61, 301.76°)
OKLaboklab(72.3% 0.055 -0.1425)
OKLCHoklch(72.3% 0.153 291.1)
XYZxyz(43.9402, 35.8641, 97.5169)
Luminance0.3587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A792FD #E8FD92
analogous
#92B2FD #A792FD #DC92FD
triadic
#A792FD #FDA792 #92FDA7
tetradic
#A792FD #FD92B2 #E8FD92 #92FDDC
square
#A792FD #FD92B2 #E8FD92 #92FDDC
split-complementary
#A792FD #FDDC92 #B2FD92
monochromatic
#461AFB #7656FC #A792FD #D8CEFE #E7E1FE

Accessibility & contrast

On white

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

On black

8.17
#A792FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A792FD
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A792FD#FFFFFF#000000##000000
##A792FD1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA3FF
Deuteranopia (green-blind)
#719FFA
Tritanopia (blue-blind)
#92A6BB
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a792fd;
/* rgb */ color: rgb(167, 146, 253);
/* oklch */ color: oklch(72.3% 0.153 291.1);
Tailwind
colors: {
  custom: {
    50: '#c4b2fe',
    500: '#a792fd',
    950: '#000000',
  },
}
SCSS
$custom: #a792fd;
$custom-light: #c4b2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#a792fd",
  "rgb": {
    "r": 167,
    "g": 146,
    "b": 253
  },
  "hsl": {
    "h": 251.776,
    "s": 96.396,
    "l": 78.235
  },
  "oklch": {
    "l": 0.72295,
    "c": 0.1527,
    "h": 291.1
  },
  "luminance": 0.35865
}

Semantic roles & 50–950 ramp

primary
#A792FD
secondary
#F0F7D4
accent
#E600B8
background
#FCFAFF
surface
#F8F5FF
border
#D1CFD7
text
#131118
muted
#828086

Preview Lab

Preview with #A792FD

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

Preview Lab → · Contrast checker → · Palette generator →

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