#A792EF#A792EF

#A792EF is a light, vivid violet. Relative luminance 0.350; OKLCH L 71.6% C 0.134 H 293.1°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#A792EF
RGBrgb(167, 146, 239)
HSLhsl(254, 74%, 75%)
HSVhsv(254, 39%, 94%)
CMYKcmyk(30.1%, 38.9%, 0%, 6.3%)
CIE-LABlab(65.75, 27.83, -44.06)
CIE-LCHlch(65.75, 52.12, 302.27°)
OKLaboklab(71.57% 0.0525 -0.1232)
OKLCHoklch(71.57% 0.134 293.1)
XYZxyz(41.7913, 35.0045, 86.1994)
Luminance0.3500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A792EF #DAEF92
analogous
#92ABEF #A792EF #D592EF
triadic
#A792EF #EFA792 #92EFA7
tetradic
#A792EF #EF92AB #DAEF92 #92EFD5
square
#A792EF #EF92AB #DAEF92 #92EFD5
split-complementary
#A792EF #EFD592 #ABEF92
monochromatic
#5127DF #7C5DE7 #A792EF #D2C7F7 #E9E4FB

Accessibility & contrast

On white

2.62
#A792EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#A792EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A792EF
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A792EF#FFFFFF#000000##000000
##A792EF1.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A1F3
Deuteranopia (green-blind)
#799EED
Tritanopia (blue-blind)
#97A3B5
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a792ef;
/* rgb */ color: rgb(167, 146, 239);
/* oklch */ color: oklch(71.6% 0.134 293.1);
Tailwind
colors: {
  custom: {
    50: '#c3b2f4',
    500: '#a792ef',
    950: '#000000',
  },
}
SCSS
$custom: #a792ef;
$custom-light: #c3b2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a792ef",
  "rgb": {
    "r": 167,
    "g": 146,
    "b": 239
  },
  "hsl": {
    "h": 253.548,
    "s": 74.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.71574,
    "c": 0.13394,
    "h": 293.1
  },
  "luminance": 0.35005
}

Semantic roles & 50–950 ramp

primary
#A792EF
secondary
#EDF3D8
accent
#D70FA9
background
#FCFAFE
surface
#F8F5FD
border
#D1CFD5
text
#131117
muted
#828085

Preview Lab

Preview with #A792EF

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

Preview Lab → · Contrast checker → · Palette generator →

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