#9784E2#9784E2

#9784E2 is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.0% C 0.137 H 291.5°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#9784E2
RGBrgb(151, 132, 226)
HSLhsl(252, 62%, 70%)
HSVhsv(252, 42%, 89%)
CMYKcmyk(33.2%, 41.6%, 0%, 11.4%)
CIE-LABlab(60.40, 28.17, -45.39)
CIE-LCHlch(60.40, 53.42, 301.82°)
OKLaboklab(66.98% 0.0503 -0.1274)
OKLCHoklch(66.98% 0.137 291.5)
XYZxyz(34.7377, 28.5721, 75.6215)
Luminance0.2857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9784E2 #CFE284
analogous
#84A0E2 #9784E2 #C684E2
triadic
#9784E2 #E29784 #84E297
tetradic
#9784E2 #E284A0 #CFE284 #84E2C6
square
#9784E2 #E284A0 #CFE284 #84E2C6
split-complementary
#9784E2 #E2C684 #A0E284
monochromatic
#4A2DBF #6D52D6 #9784E2 #C1B6EE #EAE6F9

Accessibility & contrast

On white

3.13
#9784E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#9784E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9784E2
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9784E2#FFFFFF#000000##000000
##9784E21.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6693E6
Deuteranopia (green-blind)
#6890E0
Tritanopia (blue-blind)
#8596A8
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9784e2;
/* rgb */ color: rgb(151, 132, 226);
/* oklch */ color: oklch(67.0% 0.137 291.5);
Tailwind
colors: {
  custom: {
    50: '#b8a8eb',
    500: '#9784e2',
    950: '#000000',
  },
}
SCSS
$custom: #9784e2;
$custom-light: #b8a8eb;
$custom-dark: #000000;
JSON
{
  "hex": "#9784e2",
  "rgb": {
    "r": 151,
    "g": 132,
    "b": 226
  },
  "hsl": {
    "h": 252.128,
    "s": 61.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.66981,
    "c": 0.13697,
    "h": 291.5
  },
  "luminance": 0.28573
}

Semantic roles & 50–950 ramp

primary
#9784E2
secondary
#E9EED4
accent
#CA1CA6
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#120F16
muted
#817F84

Preview Lab

Preview with #9784E2

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

Preview Lab → · Contrast checker → · Palette generator →

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