#784CAE#784CAE

#784CAE is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.3% C 0.152 H 302.0°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#784CAE
RGBrgb(120, 76, 174)
HSLhsl(267, 39%, 49%)
HSVhsv(267, 56%, 68%)
CMYKcmyk(31%, 56.3%, 0%, 31.8%)
CIE-LABlab(41.56, 38.86, -45.71)
CIE-LCHlch(41.56, 59.99, 310.37°)
OKLaboklab(51.26% 0.0807 -0.1291)
OKLCHoklch(51.26% 0.152 302)
XYZxyz(17.9684, 12.2179, 41.4479)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784CAE #82AE4C
analogous
#4C51AE #784CAE #A94CAE
triadic
#784CAE #AE784C #4CAE78
tetradic
#784CAE #AE4C51 #82AE4C #4CAEA9
square
#784CAE #AE4C51 #82AE4C #4CAEA9
split-complementary
#784CAE #AEA94C #51AE4C
monochromatic
#3D2759 #5B3983 #784CAE #9875C3 #B79FD5

Accessibility & contrast

On white

6.10
#784CAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#784CAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784CAE
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784CAE#FFFFFF#000000##FFFFFF
##784CAE1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2461B1
Deuteranopia (green-blind)
#3462AC
Tritanopia (blue-blind)
#6E5F75
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #784cae;
/* rgb */ color: rgb(120, 76, 174);
/* oklch */ color: oklch(51.3% 0.152 302.0);
Tailwind
colors: {
  custom: {
    50: '#a280c7',
    500: '#784cae',
    950: '#000000',
  },
}
SCSS
$custom: #784cae;
$custom-light: #a280c7;
$custom-dark: #000000;
JSON
{
  "hex": "#784cae",
  "rgb": {
    "r": 120,
    "g": 76,
    "b": 174
  },
  "hsl": {
    "h": 266.939,
    "s": 39.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.51258,
    "c": 0.15228,
    "h": 302
  },
  "luminance": 0.12218
}

Semantic roles & 50–950 ramp

primary
#784CAE
secondary
#ADC294
accent
#CF599A
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #784CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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