#A781FA#A781FA

#A781FA is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.2% C 0.174 H 296.0°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#A781FA
RGBrgb(167, 129, 250)
HSLhsl(259, 92%, 74%)
HSVhsv(259, 48%, 98%)
CMYKcmyk(33.2%, 48.4%, 0%, 2%)
CIE-LABlab(62.35, 40.18, -55.49)
CIE-LCHlch(62.35, 68.51, 305.91°)
OKLaboklab(69.19% 0.0764 -0.1565)
OKLCHoklch(69.19% 0.174 296)
XYZxyz(41.0376, 30.8175, 94.2102)
Luminance0.3082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A781FA #D4FA81
analogous
#8198FA #A781FA #E481FA
triadic
#A781FA #FAA781 #81FAA7
tetradic
#A781FA #FA8198 #D4FA81 #81FAE4
square
#A781FA #FA8198 #D4FA81 #81FAE4
split-complementary
#A781FA #FAE481 #98FA81
monochromatic
#550BF5 #7E46F8 #A781FA #D0BCFC #EAE2FE

Accessibility & contrast

On white

2.93
#A781FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#A781FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A781FA
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A781FA#FFFFFF#000000##000000
##A781FA1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5697FE
Deuteranopia (green-blind)
#5E95F7
Tritanopia (blue-blind)
#9498B2
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a781fa;
/* rgb */ color: rgb(167, 129, 250);
/* oklch */ color: oklch(69.2% 0.174 296.0);
Tailwind
colors: {
  custom: {
    50: '#c4a6fc',
    500: '#a781fa',
    950: '#000000',
  },
}
SCSS
$custom: #a781fa;
$custom-light: #c4a6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a781fa",
  "rgb": {
    "r": 167,
    "g": 129,
    "b": 250
  },
  "hsl": {
    "h": 258.843,
    "s": 92.366,
    "l": 74.314
  },
  "oklch": {
    "l": 0.69188,
    "c": 0.17413,
    "h": 296
  },
  "luminance": 0.30818
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A781FA

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

Preview Lab → · Contrast checker → · Palette generator →

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