#A792EE#A792EE

#A792EE is a light, vivid violet. Relative luminance 0.349; OKLCH L 71.5% C 0.133 H 293.2°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#A792EE
RGBrgb(167, 146, 238)
HSLhsl(254, 73%, 75%)
HSVhsv(254, 39%, 93%)
CMYKcmyk(29.8%, 38.7%, 0%, 6.7%)
CIE-LABlab(65.71, 27.58, -43.59)
CIE-LCHlch(65.71, 51.58, 302.32°)
OKLaboklab(71.52% 0.0523 -0.1218)
OKLCHoklch(71.52% 0.133 293.2)
XYZxyz(41.6440, 34.9456, 85.4235)
Luminance0.3495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A792EE #D9EE92
analogous
#92ABEE #A792EE #D592EE
triadic
#A792EE #EEA792 #92EEA7
tetradic
#A792EE #EE92AB #D9EE92 #92EED5
square
#A792EE #EE92AB #D9EE92 #92EED5
split-complementary
#A792EE #EED592 #ABEE92
monochromatic
#5228DD #7C5DE6 #A792EE #D2C7F6 #EAE5FB

Accessibility & contrast

On white

2.63
#A792EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#A792EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A792EE
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A792EE#FFFFFF#000000##000000
##A792EE1.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A1F2
Deuteranopia (green-blind)
#7A9EEC
Tritanopia (blue-blind)
#97A2B5
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a792ee;
/* rgb */ color: rgb(167, 146, 238);
/* oklch */ color: oklch(71.5% 0.133 293.2);
Tailwind
colors: {
  custom: {
    50: '#c3b2f4',
    500: '#a792ee',
    950: '#000000',
  },
}
SCSS
$custom: #a792ee;
$custom-light: #c3b2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a792ee",
  "rgb": {
    "r": 167,
    "g": 146,
    "b": 238
  },
  "hsl": {
    "h": 253.696,
    "s": 73.016,
    "l": 75.294
  },
  "oklch": {
    "l": 0.71524,
    "c": 0.13258,
    "h": 293.2
  },
  "luminance": 0.34946
}

Semantic roles & 50–950 ramp

primary
#A792EE
secondary
#EDF3D8
accent
#D510A8
background
#FCFAFE
surface
#F8F5FD
border
#D1CFD5
text
#131117
muted
#828085

Preview Lab

Preview with #A792EE

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

Preview Lab → · Contrast checker → · Palette generator →

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