#A782EA#A782EA

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

Color values

HEX#A782EA
RGBrgb(167, 130, 234)
HSLhsl(261, 71%, 71%)
HSVhsv(261, 44%, 92%)
CMYKcmyk(28.6%, 44.4%, 0%, 8.2%)
CIE-LABlab(61.76, 35.64, -47.60)
CIE-LCHlch(61.76, 59.46, 306.82°)
OKLaboklab(68.48% 0.0732 -0.1335)
OKLCHoklch(68.48% 0.152 298.7)
XYZxyz(38.7668, 30.1210, 81.5975)
Luminance0.3012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A782EA #C5EA82
analogous
#8291EA #A782EA #DB82EA
triadic
#A782EA #EAA782 #82EAA7
tetradic
#A782EA #EA8291 #C5EA82 #82EADB
square
#A782EA #EA8291 #C5EA82 #82EADB
split-complementary
#A782EA #EADB82 #91EA82
monochromatic
#6023CF #824EE1 #A782EA #CCB6F3 #EDE5FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A782EA#FFFFFF#000000##000000
##A782EA1.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)
#6395EE
Deuteranopia (green-blind)
#6B94E7
Tritanopia (blue-blind)
#9A95AB
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a782ea;
/* rgb */ color: rgb(167, 130, 234);
/* oklch */ color: oklch(68.5% 0.152 298.7);
Tailwind
colors: {
  custom: {
    50: '#c3a7f1',
    500: '#a782ea',
    950: '#000000',
  },
}
SCSS
$custom: #a782ea;
$custom-light: #c3a7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a782ea",
  "rgb": {
    "r": 167,
    "g": 130,
    "b": 234
  },
  "hsl": {
    "h": 261.346,
    "s": 71.233,
    "l": 71.373
  },
  "oklch": {
    "l": 0.68476,
    "c": 0.15218,
    "h": 298.7
  },
  "luminance": 0.30121
}

Semantic roles & 50–950 ramp

primary
#A782EA
secondary
#E8F1D6
accent
#D3128F
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A782EA

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

Preview Lab → · Contrast checker → · Palette generator →

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