#784FAE#784FAE

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

Color values

HEX#784FAE
RGBrgb(120, 79, 174)
HSLhsl(266, 38%, 50%)
HSVhsv(266, 55%, 68%)
CMYKcmyk(31%, 54.6%, 0%, 31.8%)
CIE-LABlab(42.22, 37.15, -44.66)
CIE-LCHlch(42.22, 58.09, 309.76°)
OKLaboklab(51.74% 0.0768 -0.126)
OKLCHoklch(51.74% 0.148 301.3)
XYZxyz(18.1799, 12.6410, 41.5184)
Luminance0.1264 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784FAE #85AE4F
analogous
#4F56AE #784FAE #A84FAE
triadic
#784FAE #AE784F #4FAE78
tetradic
#784FAE #AE4F56 #85AE4F #4FAEA8
square
#784FAE #AE4F56 #85AE4F #4FAEA8
split-complementary
#784FAE #AEA84F #56AE4F
monochromatic
#3E295A #5B3C84 #784FAE #9878C2 #B8A2D5

Accessibility & contrast

On white

5.95
#784FAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#784FAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784FAE
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784FAE#FFFFFF#000000##FFFFFF
##784FAE1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B63B1
Deuteranopia (green-blind)
#3863AC
Tritanopia (blue-blind)
#6D6177
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #784fae;
/* rgb */ color: rgb(120, 79, 174);
/* oklch */ color: oklch(51.7% 0.148 301.3);
Tailwind
colors: {
  custom: {
    50: '#a282c7',
    500: '#784fae',
    950: '#000000',
  },
}
SCSS
$custom: #784fae;
$custom-light: #a282c7;
$custom-dark: #000000;
JSON
{
  "hex": "#784fae",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 174
  },
  "hsl": {
    "h": 265.895,
    "s": 37.549,
    "l": 49.608
  },
  "oklch": {
    "l": 0.51742,
    "c": 0.14758,
    "h": 301.3
  },
  "luminance": 0.12641
}

Semantic roles & 50–950 ramp

primary
#784FAE
secondary
#AFC297
accent
#CE5A9C
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #784FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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