#783E97#783E97

#783E97 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 47.6% C 0.147 H 312.2°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#783E97
RGBrgb(120, 62, 151)
HSLhsl(279, 42%, 42%)
HSVhsv(279, 59%, 59%)
CMYKcmyk(20.5%, 58.9%, 0%, 40.8%)
CIE-LABlab(37.25, 41.00, -38.83)
CIE-LCHlch(37.25, 56.47, 316.56°)
OKLaboklab(47.65% 0.0988 -0.1089)
OKLCHoklch(47.65% 0.147 312.2)
XYZxyz(15.0533, 9.6730, 30.3463)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783E97 #5D973E
analogous
#4C3E97 #783E97 #973E8A
triadic
#783E97 #97783E #3E9778
tetradic
#783E97 #974C3E #5D973E #3E8A97
square
#783E97 #974C3E #5D973E #3E8A97
split-complementary
#783E97 #8A973E #3E974C
monochromatic
#331A40 #562C6C #783E97 #9858BA #B383CC

Accessibility & contrast

On white

7.16
#783E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #783E97
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783E97#FFFFFF#000000##FFFFFF
##783E971.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22559A
Deuteranopia (green-blind)
#385995
Tritanopia (blue-blind)
#754E64
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #783e97;
/* rgb */ color: rgb(120, 62, 151);
/* oklch */ color: oklch(47.6% 0.147 312.2);
Tailwind
colors: {
  custom: {
    50: '#a176b6',
    500: '#783e97',
    950: '#000000',
  },
}
SCSS
$custom: #783e97;
$custom-light: #a176b6;
$custom-dark: #000000;
JSON
{
  "hex": "#783e97",
  "rgb": {
    "r": 120,
    "g": 62,
    "b": 151
  },
  "hsl": {
    "h": 279.101,
    "s": 41.784,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47648,
    "c": 0.14705,
    "h": 312.2
  },
  "luminance": 0.09673
}

Semantic roles & 50–950 ramp

primary
#783E97
secondary
#8FB67A
accent
#D25681
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #783E97

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

Preview Lab → · Contrast checker → · Palette generator →

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