#A781EE#A781EE

#A781EE is a light, vivid violet. Relative luminance 0.301; OKLCH L 68.5% C 0.159 H 298.2°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#A781EE
RGBrgb(167, 129, 238)
HSLhsl(261, 76%, 72%)
HSVhsv(261, 46%, 93%)
CMYKcmyk(29.8%, 45.8%, 0%, 6.7%)
CIE-LABlab(61.73, 37.18, -49.86)
CIE-LCHlch(61.73, 62.20, 306.71°)
OKLaboklab(68.52% 0.075 -0.14)
OKLCHoklch(68.52% 0.159 298.2)
XYZxyz(39.2155, 30.0887, 84.6140)
Luminance0.3009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A781EE #C8EE81
analogous
#8192EE #A781EE #DD81EE
triadic
#A781EE #EEA781 #81EEA7
tetradic
#A781EE #EE8192 #C8EE81 #81EEDD
square
#A781EE #EE8192 #C8EE81 #81EEDD
split-complementary
#A781EE #EEDD81 #92EE81
monochromatic
#5E1DD8 #814BE7 #A781EE #CDB7F5 #ECE4FB

Accessibility & contrast

On white

2.99
#A781EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#A781EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A781EE
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A781EE#FFFFFF#000000##000000
##A781EE1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F95F2
Deuteranopia (green-blind)
#6794EB
Tritanopia (blue-blind)
#9895AC
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a781ee;
/* rgb */ color: rgb(167, 129, 238);
/* oklch */ color: oklch(68.5% 0.159 298.2);
Tailwind
colors: {
  custom: {
    50: '#c4a6f4',
    500: '#a781ee',
    950: '#000000',
  },
}
SCSS
$custom: #a781ee;
$custom-light: #c4a6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a781ee",
  "rgb": {
    "r": 167,
    "g": 129,
    "b": 238
  },
  "hsl": {
    "h": 260.917,
    "s": 76.224,
    "l": 71.961
  },
  "oklch": {
    "l": 0.6852,
    "c": 0.15887,
    "h": 298.2
  },
  "luminance": 0.30089
}

Semantic roles & 50–950 ramp

primary
#A781EE
secondary
#EAF3D8
accent
#D80D92
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A781EE

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

Preview Lab → · Contrast checker → · Palette generator →

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