#A784F2#A784F2

#A784F2 is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.3% C 0.159 H 296.7°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#A784F2
RGBrgb(167, 132, 242)
HSLhsl(259, 81%, 73%)
HSVhsv(259, 45%, 95%)
CMYKcmyk(31%, 45.5%, 0%, 5.1%)
CIE-LABlab(62.62, 36.49, -50.66)
CIE-LCHlch(62.62, 62.44, 305.76°)
OKLaboklab(69.25% 0.0716 -0.1424)
OKLCHoklch(69.25% 0.159 296.7)
XYZxyz(40.2107, 31.1283, 87.8771)
Luminance0.3113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A784F2 #CFF284
analogous
#8498F2 #A784F2 #DE84F2
triadic
#A784F2 #F2A784 #84F2A7
tetradic
#A784F2 #F28498 #CFF284 #84F2DE
square
#A784F2 #F28498 #CFF284 #84F2DE
split-complementary
#A784F2 #F2DE84 #98F284
monochromatic
#5918E4 #7F4DEC #A784F2 #CFBBF8 #EBE3FC

Accessibility & contrast

On white

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

On black

7.23
#A784F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A784F2
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A784F2#FFFFFF#000000##000000
##A784F21.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6198F6
Deuteranopia (green-blind)
#6896EF
Tritanopia (blue-blind)
#9798AF
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a784f2;
/* rgb */ color: rgb(167, 132, 242);
/* oklch */ color: oklch(69.3% 0.159 296.7);
Tailwind
colors: {
  custom: {
    50: '#c4a8f7',
    500: '#a784f2',
    950: '#000000',
  },
}
SCSS
$custom: #a784f2;
$custom-light: #c4a8f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a784f2",
  "rgb": {
    "r": 167,
    "g": 132,
    "b": 242
  },
  "hsl": {
    "h": 259.091,
    "s": 80.882,
    "l": 73.333
  },
  "oklch": {
    "l": 0.6925,
    "c": 0.15939,
    "h": 296.7
  },
  "luminance": 0.31129
}

Semantic roles & 50–950 ramp

primary
#A784F2
secondary
#EBF4D7
accent
#DD0899
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A784F2

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

Preview Lab → · Contrast checker → · Palette generator →

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