#A793EA#A793EA

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

Color values

HEX#A793EA
RGBrgb(167, 147, 234)
HSLhsl(254, 67%, 75%)
HSVhsv(254, 37%, 92%)
CMYKcmyk(28.6%, 37.2%, 0%, 8.2%)
CIE-LABlab(65.77, 26.02, -41.29)
CIE-LCHlch(65.77, 48.80, 302.21°)
OKLaboklab(71.51% 0.0502 -0.1152)
OKLCHoklch(71.51% 0.126 293.5)
XYZxyz(41.2177, 35.0228, 82.4145)
Luminance0.3502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A793EA #D6EA93
analogous
#93ABEA #A793EA #D393EA
triadic
#A793EA #EAA793 #93EAA7
tetradic
#A793EA #EA93AB #D6EA93 #93EAD3
square
#A793EA #EA93AB #D6EA93 #93EAD3
split-complementary
#A793EA #EAD393 #ABEA93
monochromatic
#542DD6 #7D60E0 #A793EA #D1C6F4 #EAE5FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A793EA#FFFFFF#000000##000000
##A793EA1.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)
#7BA1ED
Deuteranopia (green-blind)
#7D9EE8
Tritanopia (blue-blind)
#98A2B4
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a793ea;
/* rgb */ color: rgb(167, 147, 234);
/* oklch */ color: oklch(71.5% 0.126 293.5);
Tailwind
colors: {
  custom: {
    50: '#c3b2f1',
    500: '#a793ea',
    950: '#000000',
  },
}
SCSS
$custom: #a793ea;
$custom-light: #c3b2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a793ea",
  "rgb": {
    "r": 167,
    "g": 147,
    "b": 234
  },
  "hsl": {
    "h": 253.793,
    "s": 67.442,
    "l": 74.706
  },
  "oklch": {
    "l": 0.71511,
    "c": 0.12563,
    "h": 293.5
  },
  "luminance": 0.35023
}

Semantic roles & 50–950 ramp

primary
#A793EA
secondary
#ECF2D9
accent
#CF16A5
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #A793EA

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

Preview Lab → · Contrast checker → · Palette generator →

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