#783D99#783D99

#783D99 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.6% C 0.151 H 311.6°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#783D99
RGBrgb(120, 61, 153)
HSLhsl(278, 43%, 42%)
HSVhsv(278, 60%, 60%)
CMYKcmyk(21.6%, 60.1%, 0%, 40%)
CIE-LABlab(37.17, 41.99, -40.17)
CIE-LCHlch(37.17, 58.11, 316.27°)
OKLaboklab(47.63% 0.1002 -0.1128)
OKLCHoklch(47.63% 0.151 311.6)
XYZxyz(15.1632, 9.6308, 31.1910)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783D99 #5E993D
analogous
#4A3D99 #783D99 #993D8C
triadic
#783D99 #99783D #3D9978
tetradic
#783D99 #994A3D #5E993D #3D8C99
square
#783D99 #994A3D #5E993D #3D8C99
split-complementary
#783D99 #8C993D #3D994A
monochromatic
#331A41 #562C6D #783D99 #9857BC #B383CE

Accessibility & contrast

On white

7.18
#783D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#783D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783D99
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783D99#FFFFFF#000000##FFFFFF
##783D991.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D559C
Deuteranopia (green-blind)
#365997
Tritanopia (blue-blind)
#744E65
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #783d99;
/* rgb */ color: rgb(120, 61, 153);
/* oklch */ color: oklch(47.6% 0.151 311.6);
Tailwind
colors: {
  custom: {
    50: '#a276b7',
    500: '#783d99',
    950: '#000000',
  },
}
SCSS
$custom: #783d99;
$custom-light: #a276b7;
$custom-dark: #000000;
JSON
{
  "hex": "#783d99",
  "rgb": {
    "r": 120,
    "g": 61,
    "b": 153
  },
  "hsl": {
    "h": 278.478,
    "s": 42.991,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4763,
    "c": 0.15088,
    "h": 311.6
  },
  "luminance": 0.0963
}

Semantic roles & 50–950 ramp

primary
#783D99
secondary
#90B87A
accent
#D35582
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #783D99

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

Preview Lab → · Contrast checker → · Palette generator →

#783D99 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva