#784FAD#784FAD

#784FAD is a mid, vivid violet. Relative luminance 0.126; OKLCH L 51.7% C 0.146 H 301.6°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#784FAD
RGBrgb(120, 79, 173)
HSLhsl(266, 37%, 49%)
HSVhsv(266, 54%, 68%)
CMYKcmyk(30.6%, 54.3%, 0%, 32.2%)
CIE-LABlab(42.16, 36.89, -44.16)
CIE-LCHlch(42.16, 57.54, 309.88°)
OKLaboklab(51.68% 0.0767 -0.1246)
OKLCHoklch(51.68% 0.146 301.6)
XYZxyz(18.0828, 12.6021, 41.0069)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784FAD #84AD4F
analogous
#4F55AD #784FAD #A74FAD
triadic
#784FAD #AD784F #4FAD78
tetradic
#784FAD #AD4F55 #84AD4F #4FADA7
square
#784FAD #AD4F55 #84AD4F #4FADA7
split-complementary
#784FAD #ADA74F #55AD4F
monochromatic
#3E2959 #5B3C83 #784FAD #9878C1 #B8A2D4

Accessibility & contrast

On white

5.97
#784FAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#784FAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784FAD
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784FAD#FFFFFF#000000##FFFFFF
##784FAD1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C63B0
Deuteranopia (green-blind)
#3963AB
Tritanopia (blue-blind)
#6E6176
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #784fad;
/* rgb */ color: rgb(120, 79, 173);
/* oklch */ color: oklch(51.7% 0.146 301.6);
Tailwind
colors: {
  custom: {
    50: '#a282c6',
    500: '#784fad',
    950: '#000000',
  },
}
SCSS
$custom: #784fad;
$custom-light: #a282c6;
$custom-dark: #000000;
JSON
{
  "hex": "#784fad",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 173
  },
  "hsl": {
    "h": 266.17,
    "s": 37.302,
    "l": 49.412
  },
  "oklch": {
    "l": 0.51679,
    "c": 0.14632,
    "h": 301.6
  },
  "luminance": 0.12602
}

Semantic roles & 50–950 ramp

primary
#784FAD
secondary
#AFC296
accent
#CD5B9B
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #784FAD

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

Preview Lab → · Contrast checker → · Palette generator →

#784FAD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva