#783E9B#783E9B

#783E9B is a mid, vivid violet. Relative luminance 0.098; OKLCH L 47.9% C 0.152 H 310.7°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#783E9B
RGBrgb(120, 62, 155)
HSLhsl(277, 43%, 43%)
HSVhsv(277, 60%, 61%)
CMYKcmyk(22.6%, 60%, 0%, 39.2%)
CIE-LABlab(37.49, 41.92, -40.87)
CIE-LCHlch(37.49, 58.55, 315.73°)
OKLaboklab(47.9% 0.0989 -0.1149)
OKLCHoklch(47.9% 0.152 310.7)
XYZxyz(15.3836, 9.8052, 32.0862)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783E9B #619B3E
analogous
#493E9B #783E9B #9B3E90
triadic
#783E9B #9B783E #3E9B78
tetradic
#783E9B #9B493E #619B3E #3E909B
square
#783E9B #9B493E #619B3E #3E909B
split-complementary
#783E9B #909B3E #3E9B49
monochromatic
#341B44 #562D6F #783E9B #9759BD #B385CE

Accessibility & contrast

On white

7.09
#783E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #783E9B
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783E9B#FFFFFF#000000##FFFFFF
##783E9B1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #783e9b;
/* rgb */ color: rgb(120, 62, 155);
/* oklch */ color: oklch(47.9% 0.152 310.7);
Tailwind
colors: {
  custom: {
    50: '#a276b9',
    500: '#783e9b',
    950: '#000000',
  },
}
SCSS
$custom: #783e9b;
$custom-light: #a276b9;
$custom-dark: #000000;
JSON
{
  "hex": "#783e9b",
  "rgb": {
    "r": 120,
    "g": 62,
    "b": 155
  },
  "hsl": {
    "h": 277.419,
    "s": 42.857,
    "l": 42.549
  },
  "oklch": {
    "l": 0.47902,
    "c": 0.15157,
    "h": 310.7
  },
  "luminance": 0.09805
}

Semantic roles & 50–950 ramp

primary
#783E9B
secondary
#93B97C
accent
#D35584
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #783E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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