#783E9A#783E9A

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

Color values

HEX#783E9A
RGBrgb(120, 62, 154)
HSLhsl(278, 43%, 42%)
HSVhsv(278, 60%, 60%)
CMYKcmyk(22.1%, 59.7%, 0%, 39.6%)
CIE-LABlab(37.43, 41.69, -40.36)
CIE-LCHlch(37.43, 58.03, 315.93°)
OKLaboklab(47.84% 0.0989 -0.1134)
OKLCHoklch(47.84% 0.15 311.1)
XYZxyz(15.3000, 9.7717, 31.6457)
Luminance0.0977 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783E9A #609A3E
analogous
#4A3E9A #783E9A #9A3E8E
triadic
#783E9A #9A783E #3E9A78
tetradic
#783E9A #9A4A3E #609A3E #3E8E9A
square
#783E9A #9A4A3E #609A3E #3E8E9A
split-complementary
#783E9A #8E9A3E #3E9A4A
monochromatic
#341B43 #562C6E #783E9A #9859BC #B385CE

Accessibility & contrast

On white

7.11
#783E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#783E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783E9A
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783E9A#FFFFFF#000000##FFFFFF
##783E9A1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E559D
Deuteranopia (green-blind)
#365998
Tritanopia (blue-blind)
#744F66
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #783e9a;
/* rgb */ color: rgb(120, 62, 154);
/* oklch */ color: oklch(47.8% 0.150 311.1);
Tailwind
colors: {
  custom: {
    50: '#a276b8',
    500: '#783e9a',
    950: '#000000',
  },
}
SCSS
$custom: #783e9a;
$custom-light: #a276b8;
$custom-dark: #000000;
JSON
{
  "hex": "#783e9a",
  "rgb": {
    "r": 120,
    "g": 62,
    "b": 154
  },
  "hsl": {
    "h": 277.826,
    "s": 42.593,
    "l": 42.353
  },
  "oklch": {
    "l": 0.47838,
    "c": 0.15044,
    "h": 311.1
  },
  "luminance": 0.09771
}

Semantic roles & 50–950 ramp

primary
#783E9A
secondary
#92B87C
accent
#D25584
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #783E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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