#9784E4#9784E4

#9784E4 is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.1% C 0.140 H 291.3°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#9784E4
RGBrgb(151, 132, 228)
HSLhsl(252, 64%, 71%)
HSVhsv(252, 42%, 89%)
CMYKcmyk(33.8%, 42.1%, 0%, 10.6%)
CIE-LABlab(60.50, 28.69, -46.35)
CIE-LCHlch(60.50, 54.51, 301.76°)
OKLaboklab(67.09% 0.0506 -0.1302)
OKLCHoklch(67.09% 0.14 291.3)
XYZxyz(35.0137, 28.6825, 77.0753)
Luminance0.2868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9784E4 #D1E484
analogous
#84A1E4 #9784E4 #C784E4
triadic
#9784E4 #E49784 #84E497
tetradic
#9784E4 #E484A1 #D1E484 #84E4C7
square
#9784E4 #E484A1 #D1E484 #84E4C7
split-complementary
#9784E4 #E4C784 #A1E484
monochromatic
#492BC3 #6D52D9 #9784E4 #C1B6EF #EAE6F9

Accessibility & contrast

On white

3.12
#9784E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#9784E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9784E4
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9784E4#FFFFFF#000000##000000
##9784E41.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6593E8
Deuteranopia (green-blind)
#6790E2
Tritanopia (blue-blind)
#8496A9
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9784e4;
/* rgb */ color: rgb(151, 132, 228);
/* oklch */ color: oklch(67.1% 0.140 291.3);
Tailwind
colors: {
  custom: {
    50: '#b8a8ed',
    500: '#9784e4',
    950: '#000000',
  },
}
SCSS
$custom: #9784e4;
$custom-light: #b8a8ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9784e4",
  "rgb": {
    "r": 151,
    "g": 132,
    "b": 228
  },
  "hsl": {
    "h": 251.875,
    "s": 64,
    "l": 70.588
  },
  "oklch": {
    "l": 0.67087,
    "c": 0.13969,
    "h": 291.3
  },
  "luminance": 0.28683
}

Semantic roles & 50–950 ramp

primary
#9784E4
secondary
#EAEFD5
accent
#CC1AA9
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#120F16
muted
#817F84

Preview Lab

Preview with #9784E4

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

Preview Lab → · Contrast checker → · Palette generator →

#9784E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva