#A782FA#A782FA

#A782FA is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.4% C 0.173 H 295.8°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#A782FA
RGBrgb(167, 130, 250)
HSLhsl(259, 92%, 75%)
HSVhsv(259, 48%, 98%)
CMYKcmyk(33.2%, 48%, 0%, 2%)
CIE-LABlab(62.58, 39.62, -55.13)
CIE-LCHlch(62.58, 67.89, 305.70°)
OKLaboklab(69.36% 0.0751 -0.1554)
OKLCHoklch(69.36% 0.173 295.8)
XYZxyz(41.1700, 31.0822, 94.2544)
Luminance0.3108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A782FA #D5FA82
analogous
#8299FA #A782FA #E382FA
triadic
#A782FA #FAA782 #82FAA7
tetradic
#A782FA #FA8299 #D5FA82 #82FAE3
square
#A782FA #FA8299 #D5FA82 #82FAE3
split-complementary
#A782FA #FAE382 #99FA82
monochromatic
#540CF5 #7E47F8 #A782FA #D0BDFC #EAE2FE

Accessibility & contrast

On white

2.91
#A782FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#A782FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A782FA
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A782FA#FFFFFF#000000##000000
##A782FA1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5898FE
Deuteranopia (green-blind)
#6096F7
Tritanopia (blue-blind)
#9499B2
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a782fa;
/* rgb */ color: rgb(167, 130, 250);
/* oklch */ color: oklch(69.4% 0.173 295.8);
Tailwind
colors: {
  custom: {
    50: '#c4a7fc',
    500: '#a782fa',
    950: '#000000',
  },
}
SCSS
$custom: #a782fa;
$custom-light: #c4a7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a782fa",
  "rgb": {
    "r": 167,
    "g": 130,
    "b": 250
  },
  "hsl": {
    "h": 258.5,
    "s": 92.308,
    "l": 74.51
  },
  "oklch": {
    "l": 0.69356,
    "c": 0.17264,
    "h": 295.8
  },
  "luminance": 0.31083
}

Semantic roles & 50–950 ramp

primary
#A782FA
secondary
#ECF6D5
accent
#E6009F
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A782FA

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

Preview Lab → · Contrast checker → · Palette generator →

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