#A782BC#A782BC

#A782BC is a light, moderate violet. Relative luminance 0.278; OKLCH L 66.3% C 0.093 H 312.9°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#A782BC
RGBrgb(167, 130, 188)
HSLhsl(278, 30%, 62%)
HSVhsv(278, 31%, 74%)
CMYKcmyk(11.2%, 30.9%, 0%, 26.3%)
CIE-LABlab(59.72, 25.03, -24.97)
CIE-LCHlch(59.72, 35.36, 315.06°)
OKLaboklab(66.26% 0.0636 -0.0683)
OKLCHoklch(66.26% 0.093 312.9)
XYZxyz(32.9946, 27.8121, 51.1973)
Luminance0.2781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A782BC #97BC82
analogous
#8A82BC #A782BC #BC82B4
triadic
#A782BC #BCA782 #82BCA7
tetradic
#A782BC #BC8A82 #97BC82 #82B4BC
square
#A782BC #BC8A82 #97BC82 #82B4BC
split-complementary
#A782BC #B4BC82 #82BC8A
monochromatic
#6A447F #8B5AA7 #A782BC #C3AAD1 #DFD2E7

Accessibility & contrast

On white

3.20
#A782BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#A782BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A782BC
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A782BC#FFFFFF#000000##000000
##A782BC1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#798EBE
Deuteranopia (green-blind)
#8191BA
Tritanopia (blue-blind)
#A58997
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a782bc;
/* rgb */ color: rgb(167, 130, 188);
/* oklch */ color: oklch(66.3% 0.093 312.9);
Tailwind
colors: {
  custom: {
    50: '#c2a6d0',
    500: '#a782bc',
    950: '#000000',
  },
}
SCSS
$custom: #a782bc;
$custom-light: #c2a6d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a782bc",
  "rgb": {
    "r": 167,
    "g": 130,
    "b": 188
  },
  "hsl": {
    "h": 278.276,
    "s": 30.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.66261,
    "c": 0.09333,
    "h": 312.9
  },
  "luminance": 0.27812
}

Semantic roles & 50–950 ramp

primary
#A782BC
secondary
#CAD7C2
accent
#A93D64
background
#FBFAFC
surface
#F7F4F9
border
#D0CED2
text
#120F14
muted
#817F82

Preview Lab

Preview with #A782BC

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

Preview Lab → · Contrast checker → · Palette generator →

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