#784692#784692

#784692 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 48.6% C 0.128 H 312.9°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#784692
RGBrgb(120, 70, 146)
HSLhsl(279, 35%, 42%)
HSVhsv(279, 52%, 57%)
CMYKcmyk(17.8%, 52.1%, 0%, 42.7%)
CIE-LABlab(38.64, 35.44, -33.60)
CIE-LCHlch(38.64, 48.83, 316.53°)
OKLaboklab(48.58% 0.0872 -0.0937)
OKLCHoklch(48.58% 0.128 312.9)
XYZxyz(15.1233, 10.4491, 28.4088)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784692 #609246
analogous
#524692 #784692 #924686
triadic
#784692 #927846 #469278
tetradic
#784692 #925246 #609246 #468692
square
#784692 #925246 #609246 #468692
split-complementary
#784692 #869246 #469252
monochromatic
#341E3F #563269 #784692 #9862B4 #B38BC7

Accessibility & contrast

On white

6.80
#784692 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#784692 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784692
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784692#FFFFFF#000000##FFFFFF
##7846921.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345895
Deuteranopia (green-blind)
#435C90
Tritanopia (blue-blind)
#765265
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #784692;
/* rgb */ color: rgb(120, 70, 146);
/* oklch */ color: oklch(48.6% 0.128 312.9);
Tailwind
colors: {
  custom: {
    50: '#a17bb2',
    500: '#784692',
    950: '#000000',
  },
}
SCSS
$custom: #784692;
$custom-light: #a17bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#784692",
  "rgb": {
    "r": 120,
    "g": 70,
    "b": 146
  },
  "hsl": {
    "h": 279.474,
    "s": 35.185,
    "l": 42.353
  },
  "oklch": {
    "l": 0.48576,
    "c": 0.12799,
    "h": 312.9
  },
  "luminance": 0.10449
}

Semantic roles & 50–950 ramp

primary
#784692
secondary
#92B381
accent
#CB5D82
background
#FAF7FB
surface
#F3EEF6
border
#CDC9D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #784692

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

Preview Lab → · Contrast checker → · Palette generator →

#784692 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva