#783B97#783B97

#783B97 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.2% C 0.152 H 312.6°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#783B97
RGBrgb(120, 59, 151)
HSLhsl(280, 44%, 41%)
HSVhsv(280, 61%, 59%)
CMYKcmyk(20.5%, 60.9%, 0%, 40.8%)
CIE-LABlab(36.66, 42.58, -39.77)
CIE-LCHlch(36.66, 58.27, 316.96°)
OKLaboklab(47.22% 0.1028 -0.1117)
OKLCHoklch(47.22% 0.152 312.6)
XYZxyz(14.8946, 9.3558, 30.2934)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783B97 #5A973B
analogous
#4A3B97 #783B97 #973B88
triadic
#783B97 #97783B #3B9778
tetradic
#783B97 #974A3B #5A973B #3B8897
square
#783B97 #974A3B #5A973B #3B8897
split-complementary
#783B97 #88973B #3B974A
monochromatic
#32193F #552A6B #783B97 #9953BC #B37FCD

Accessibility & contrast

On white

7.31
#783B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#783B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783B97
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783B97#FFFFFF#000000##FFFFFF
##783B971.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B539A
Deuteranopia (green-blind)
#355895
Tritanopia (blue-blind)
#754C63
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #783b97;
/* rgb */ color: rgb(120, 59, 151);
/* oklch */ color: oklch(47.2% 0.152 312.6);
Tailwind
colors: {
  custom: {
    50: '#a274b6',
    500: '#783b97',
    950: '#000000',
  },
}
SCSS
$custom: #783b97;
$custom-light: #a274b6;
$custom-dark: #000000;
JSON
{
  "hex": "#783b97",
  "rgb": {
    "r": 120,
    "g": 59,
    "b": 151
  },
  "hsl": {
    "h": 279.783,
    "s": 43.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.47218,
    "c": 0.15176,
    "h": 312.6
  },
  "luminance": 0.09355
}

Semantic roles & 50–950 ramp

primary
#783B97
secondary
#8CB777
accent
#D4547F
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0811
muted
#7F7B80

Preview Lab

Preview with #783B97

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

Preview Lab → · Contrast checker → · Palette generator →

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