#A782CA#A782CA

#A782CA is a light, moderate violet. Relative luminance 0.284; OKLCH L 66.9% C 0.111 H 307.2°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#A782CA
RGBrgb(167, 130, 202)
HSLhsl(271, 40%, 65%)
HSVhsv(271, 36%, 79%)
CMYKcmyk(17.3%, 35.6%, 0%, 20.8%)
CIE-LABlab(60.29, 28.10, -32.01)
CIE-LCHlch(60.29, 42.60, 311.28°)
OKLaboklab(66.88% 0.0671 -0.0884)
OKLCHoklch(66.88% 0.111 307.2)
XYZxyz(34.5776, 28.4453, 59.5346)
Luminance0.2844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A782CA #A5CA82
analogous
#8382CA #A782CA #CA82C9
triadic
#A782CA #CAA782 #82CAA7
tetradic
#A782CA #CA8382 #A5CA82 #82C9CA
square
#A782CA #CA8382 #A5CA82 #82C9CA
split-complementary
#A782CA #C9CA82 #82CA83
monochromatic
#6A3E93 #8957B8 #A782CA #C5ADDC #E4D8EE

Accessibility & contrast

On white

3.14
#A782CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#A782CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A782CA
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A782CA#FFFFFF#000000##000000
##A782CA1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7390CD
Deuteranopia (green-blind)
#7B92C8
Tritanopia (blue-blind)
#A28D9D
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a782ca;
/* rgb */ color: rgb(167, 130, 202);
/* oklch */ color: oklch(66.9% 0.111 307.2);
Tailwind
colors: {
  custom: {
    50: '#c2a6da',
    500: '#a782ca',
    950: '#000000',
  },
}
SCSS
$custom: #a782ca;
$custom-light: #c2a6da;
$custom-dark: #000000;
JSON
{
  "hex": "#a782ca",
  "rgb": {
    "r": 167,
    "g": 130,
    "b": 202
  },
  "hsl": {
    "h": 270.833,
    "s": 40.449,
    "l": 65.098
  },
  "oklch": {
    "l": 0.66883,
    "c": 0.11099,
    "h": 307.2
  },
  "luminance": 0.28445
}

Semantic roles & 50–950 ramp

primary
#A782CA
secondary
#D4E0C8
accent
#B33271
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#120F15
muted
#817F83

Preview Lab

Preview with #A782CA

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

Preview Lab → · Contrast checker → · Palette generator →

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