#783F97#783F97

#783F97 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 47.8% C 0.145 H 312.0°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#783F97
RGBrgb(120, 63, 151)
HSLhsl(279, 41%, 42%)
HSVhsv(279, 58%, 59%)
CMYKcmyk(20.5%, 58.3%, 0%, 40.8%)
CIE-LABlab(37.45, 40.46, -38.51)
CIE-LCHlch(37.45, 55.86, 316.41°)
OKLaboklab(47.79% 0.0974 -0.108)
OKLCHoklch(47.79% 0.145 312)
XYZxyz(15.1082, 9.7828, 30.3646)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783F97 #5E973F
analogous
#4C3F97 #783F97 #973F8A
triadic
#783F97 #97783F #3F9778
tetradic
#783F97 #974C3F #5E973F #3F8A97
square
#783F97 #974C3F #5E973F #3F8A97
split-complementary
#783F97 #8A973F #3F974C
monochromatic
#331B41 #562D6C #783F97 #9859BA #B385CC

Accessibility & contrast

On white

7.10
#783F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#783F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783F97
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783F97#FFFFFF#000000##FFFFFF
##783F971.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24559A
Deuteranopia (green-blind)
#395995
Tritanopia (blue-blind)
#754F65
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #783f97;
/* rgb */ color: rgb(120, 63, 151);
/* oklch */ color: oklch(47.8% 0.145 312.0);
Tailwind
colors: {
  custom: {
    50: '#a177b6',
    500: '#783f97',
    950: '#000000',
  },
}
SCSS
$custom: #783f97;
$custom-light: #a177b6;
$custom-dark: #000000;
JSON
{
  "hex": "#783f97",
  "rgb": {
    "r": 120,
    "g": 63,
    "b": 151
  },
  "hsl": {
    "h": 278.864,
    "s": 41.121,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47794,
    "c": 0.14545,
    "h": 312
  },
  "luminance": 0.09782
}

Semantic roles & 50–950 ramp

primary
#783F97
secondary
#90B67C
accent
#D15782
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #783F97

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

Preview Lab → · Contrast checker → · Palette generator →

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