#A781EB#A781EB

#A781EB is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.4% C 0.155 H 298.8°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#A781EB
RGBrgb(167, 129, 235)
HSLhsl(262, 73%, 71%)
HSVhsv(262, 45%, 92%)
CMYKcmyk(28.9%, 45.1%, 0%, 7.8%)
CIE-LABlab(61.58, 36.44, -48.43)
CIE-LCHlch(61.58, 60.61, 306.96°)
OKLaboklab(68.36% 0.0746 -0.1359)
OKLCHoklch(68.36% 0.155 298.8)
XYZxyz(38.7785, 29.9139, 82.3121)
Luminance0.2991 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A781EB #C5EB81
analogous
#8190EB #A781EB #DC81EB
triadic
#A781EB #EBA781 #81EBA7
tetradic
#A781EB #EB8190 #C5EB81 #81EBDC
square
#A781EB #EB8190 #C5EB81 #81EBDC
split-complementary
#A781EB #EBDC81 #90EB81
monochromatic
#6021D1 #824CE3 #A781EB #CCB6F3 #EDE5FB

Accessibility & contrast

On white

3.01
#A781EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#A781EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A781EB
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A781EB#FFFFFF#000000##000000
##A781EB1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6195EF
Deuteranopia (green-blind)
#6994E8
Tritanopia (blue-blind)
#9994AB
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a781eb;
/* rgb */ color: rgb(167, 129, 235);
/* oklch */ color: oklch(68.4% 0.155 298.8);
Tailwind
colors: {
  custom: {
    50: '#c3a6f2',
    500: '#a781eb',
    950: '#000000',
  },
}
SCSS
$custom: #a781eb;
$custom-light: #c3a6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a781eb",
  "rgb": {
    "r": 167,
    "g": 129,
    "b": 235
  },
  "hsl": {
    "h": 261.509,
    "s": 72.603,
    "l": 71.373
  },
  "oklch": {
    "l": 0.68358,
    "c": 0.15503,
    "h": 298.8
  },
  "luminance": 0.29914
}

Semantic roles & 50–950 ramp

primary
#A781EB
secondary
#E8F2D6
accent
#D5118E
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A781EB

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

Preview Lab → · Contrast checker → · Palette generator →

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