#A782FF#A782FF

#A782FF is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.6% C 0.179 H 295.0°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#A782FF
RGBrgb(167, 130, 255)
HSLhsl(258, 100%, 75%)
HSVhsv(258, 49%, 100%)
CMYKcmyk(34.5%, 49%, 0%, 0%)
CIE-LABlab(62.84, 40.89, -57.45)
CIE-LCHlch(62.84, 70.51, 305.44°)
OKLaboklab(69.64% 0.0756 -0.1622)
OKLCHoklch(69.64% 0.179 295)
XYZxyz(41.9644, 31.4000, 98.4382)
Luminance0.3140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A782FF #DAFF82
analogous
#829BFF #A782FF #E582FF
triadic
#A782FF #FFA782 #82FFA7
tetradic
#A782FF #FF829B #DAFF82 #82FFE5
square
#A782FF #FF829B #DAFF82 #82FFE5
split-complementary
#A782FF #FFE582 #9BFF82
monochromatic
#5108FF #7C45FF #A782FF #D2BFFF #E9E0FF

Accessibility & contrast

On white

2.88
#A782FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#A782FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A782FF
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A782FF#FFFFFF#000000##000000
##A782FF1.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5499FF
Deuteranopia (green-blind)
#5C96FC
Tritanopia (blue-blind)
#929AB5
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a782ff;
/* rgb */ color: rgb(167, 130, 255);
/* oklch */ color: oklch(69.6% 0.179 295.0);
Tailwind
colors: {
  custom: {
    50: '#c5a7ff',
    500: '#a782ff',
    950: '#000000',
  },
}
SCSS
$custom: #a782ff;
$custom-light: #c5a7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a782ff",
  "rgb": {
    "r": 167,
    "g": 130,
    "b": 255
  },
  "hsl": {
    "h": 257.76,
    "s": 100,
    "l": 75.49
  },
  "oklch": {
    "l": 0.69642,
    "c": 0.17898,
    "h": 295
  },
  "luminance": 0.31401
}

Semantic roles & 50–950 ramp

primary
#A782FF
secondary
#EDF7D4
accent
#E600A2
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A782FF

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

Preview Lab → · Contrast checker → · Palette generator →

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