#A784F8#A784F8

#A784F8 is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.6% C 0.167 H 295.7°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#A784F8
RGBrgb(167, 132, 248)
HSLhsl(258, 89%, 75%)
HSVhsv(258, 47%, 97%)
CMYKcmyk(32.7%, 46.8%, 0%, 2.7%)
CIE-LABlab(62.92, 37.99, -53.48)
CIE-LCHlch(62.92, 65.60, 305.39°)
OKLaboklab(69.58% 0.0723 -0.1506)
OKLCHoklch(69.58% 0.167 295.7)
XYZxyz(41.1267, 31.4947, 92.7010)
Luminance0.3150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A784F8 #D5F884
analogous
#849BF8 #A784F8 #E184F8
triadic
#A784F8 #F8A784 #84F8A7
tetradic
#A784F8 #F8849B #D5F884 #84F8E1
square
#A784F8 #F8849B #D5F884 #84F8E1
split-complementary
#A784F8 #F8E184 #9BF884
monochromatic
#5410F1 #7E4AF5 #A784F8 #D0BEFB #EAE2FD

Accessibility & contrast

On white

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

On black

7.30
#A784F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A784F8
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A784F8#FFFFFF#000000##000000
##A784F81.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D99FC
Deuteranopia (green-blind)
#6497F5
Tritanopia (blue-blind)
#959AB2
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a784f8;
/* rgb */ color: rgb(167, 132, 248);
/* oklch */ color: oklch(69.6% 0.167 295.7);
Tailwind
colors: {
  custom: {
    50: '#c4a8fb',
    500: '#a784f8',
    950: '#000000',
  },
}
SCSS
$custom: #a784f8;
$custom-light: #c4a8fb;
$custom-dark: #000000;
JSON
{
  "hex": "#a784f8",
  "rgb": {
    "r": 167,
    "g": 132,
    "b": 248
  },
  "hsl": {
    "h": 258.103,
    "s": 89.231,
    "l": 74.51
  },
  "oklch": {
    "l": 0.69581,
    "c": 0.16709,
    "h": 295.7
  },
  "luminance": 0.31495
}

Semantic roles & 50–950 ramp

primary
#A784F8
secondary
#ECF5D6
accent
#E600A0
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A784F8

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

Preview Lab → · Contrast checker → · Palette generator →

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