#783C99#783C99

#783C99 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.5% C 0.152 H 311.7°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#783C99
RGBrgb(120, 60, 153)
HSLhsl(279, 44%, 42%)
HSVhsv(279, 61%, 60%)
CMYKcmyk(21.6%, 60.8%, 0%, 40%)
CIE-LABlab(36.98, 42.52, -40.48)
CIE-LCHlch(36.98, 58.70, 316.41°)
OKLaboklab(47.49% 0.1015 -0.1137)
OKLCHoklch(47.49% 0.152 311.7)
XYZxyz(15.1103, 9.5251, 31.1733)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783C99 #5D993C
analogous
#4A3C99 #783C99 #993C8C
triadic
#783C99 #99783C #3C9978
tetradic
#783C99 #994A3C #5D993C #3C8C99
square
#783C99 #994A3C #5D993C #3C8C99
split-complementary
#783C99 #8C993C #3C994A
monochromatic
#331A41 #562B6D #783C99 #9856BD #B382CE

Accessibility & contrast

On white

7.23
#783C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#783C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783C99
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783C99#FFFFFF#000000##FFFFFF
##783C991.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B549C
Deuteranopia (green-blind)
#355897
Tritanopia (blue-blind)
#744D65
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #783c99;
/* rgb */ color: rgb(120, 60, 153);
/* oklch */ color: oklch(47.5% 0.152 311.7);
Tailwind
colors: {
  custom: {
    50: '#a275b7',
    500: '#783c99',
    950: '#000000',
  },
}
SCSS
$custom: #783c99;
$custom-light: #a275b7;
$custom-dark: #000000;
JSON
{
  "hex": "#783c99",
  "rgb": {
    "r": 120,
    "g": 60,
    "b": 153
  },
  "hsl": {
    "h": 278.71,
    "s": 43.662,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47487,
    "c": 0.15244,
    "h": 311.7
  },
  "luminance": 0.09525
}

Semantic roles & 50–950 ramp

primary
#783C99
secondary
#8FB879
accent
#D35481
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0811
muted
#7F7B80

Preview Lab

Preview with #783C99

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

Preview Lab → · Contrast checker → · Palette generator →

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