#783E9E#783E9E

#783E9E is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.1% C 0.155 H 309.7°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#783E9E
RGBrgb(120, 62, 158)
HSLhsl(276, 44%, 43%)
HSVhsv(276, 61%, 62%)
CMYKcmyk(24.1%, 60.8%, 0%, 38%)
CIE-LABlab(37.68, 42.62, -42.38)
CIE-LCHlch(37.68, 60.11, 315.16°)
OKLaboklab(48.1% 0.0989 -0.1193)
OKLCHoklch(48.1% 0.155 309.7)
XYZxyz(15.6387, 9.9072, 33.4296)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783E9E #649E3E
analogous
#483E9E #783E9E #9E3E94
triadic
#783E9E #9E783E #3E9E78
tetradic
#783E9E #9E483E #649E3E #3E949E
square
#783E9E #9E483E #649E3E #3E949E
split-complementary
#783E9E #949E3E #3E9E48
monochromatic
#351C46 #572D72 #783E9E #975BBF #B387D0

Accessibility & contrast

On white

7.04
#783E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#783E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783E9E
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783E9E#FFFFFF#000000##FFFFFF
##783E9E1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1856A1
Deuteranopia (green-blind)
#335A9C
Tritanopia (blue-blind)
#735068
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #783e9e;
/* rgb */ color: rgb(120, 62, 158);
/* oklch */ color: oklch(48.1% 0.155 309.7);
Tailwind
colors: {
  custom: {
    50: '#a276bb',
    500: '#783e9e',
    950: '#000000',
  },
}
SCSS
$custom: #783e9e;
$custom-light: #a276bb;
$custom-dark: #000000;
JSON
{
  "hex": "#783e9e",
  "rgb": {
    "r": 120,
    "g": 62,
    "b": 158
  },
  "hsl": {
    "h": 276.25,
    "s": 43.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.48096,
    "c": 0.15497,
    "h": 309.7
  },
  "luminance": 0.09907
}

Semantic roles & 50–950 ramp

primary
#783E9E
secondary
#96BA7E
accent
#D35487
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #783E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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