#784792#784792

#784792 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 48.7% C 0.126 H 312.7°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#784792
RGBrgb(120, 71, 146)
HSLhsl(279, 35%, 43%)
HSVhsv(279, 51%, 57%)
CMYKcmyk(17.8%, 51.4%, 0%, 42.7%)
CIE-LABlab(38.86, 34.87, -33.25)
CIE-LCHlch(38.86, 48.18, 316.36°)
OKLaboklab(48.74% 0.0857 -0.0927)
OKLCHoklch(48.74% 0.126 312.7)
XYZxyz(15.1864, 10.5752, 28.4298)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784792 #619247
analogous
#534792 #784792 #924786
triadic
#784792 #927847 #479278
tetradic
#784792 #925347 #619247 #478692
square
#784792 #925347 #619247 #478692
split-complementary
#784792 #869247 #479253
monochromatic
#341F40 #563369 #784792 #9763B3 #B38CC7

Accessibility & contrast

On white

6.74
#784792 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#784792 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784792
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784792#FFFFFF#000000##FFFFFF
##7847921.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355995
Deuteranopia (green-blind)
#445D90
Tritanopia (blue-blind)
#765366
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #784792;
/* rgb */ color: rgb(120, 71, 146);
/* oklch */ color: oklch(48.7% 0.126 312.7);
Tailwind
colors: {
  custom: {
    50: '#a17cb2',
    500: '#784792',
    950: '#000000',
  },
}
SCSS
$custom: #784792;
$custom-light: #a17cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#784792",
  "rgb": {
    "r": 120,
    "g": 71,
    "b": 146
  },
  "hsl": {
    "h": 279.2,
    "s": 34.562,
    "l": 42.549
  },
  "oklch": {
    "l": 0.48738,
    "c": 0.12625,
    "h": 312.7
  },
  "luminance": 0.10575
}

Semantic roles & 50–950 ramp

primary
#784792
secondary
#93B382
accent
#CB5D83
background
#FAF7FB
surface
#F3EEF6
border
#CDC9D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #784792

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

Preview Lab → · Contrast checker → · Palette generator →

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