#783E9C#783E9C

#783E9C is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.0% C 0.153 H 310.4°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#783E9C
RGBrgb(120, 62, 156)
HSLhsl(277, 43%, 43%)
HSVhsv(277, 60%, 61%)
CMYKcmyk(23.1%, 60.3%, 0%, 38.8%)
CIE-LABlab(37.55, 42.16, -41.37)
CIE-LCHlch(37.55, 59.07, 315.54°)
OKLaboklab(47.97% 0.0989 -0.1164)
OKLCHoklch(47.97% 0.153 310.4)
XYZxyz(15.4680, 9.8389, 32.5303)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783E9C #629C3E
analogous
#493E9C #783E9C #9C3E91
triadic
#783E9C #9C783E #3E9C78
tetradic
#783E9C #9C493E #629C3E #3E919C
square
#783E9C #9C493E #629C3E #3E919C
split-complementary
#783E9C #919C3E #3E9C49
monochromatic
#351B44 #562D70 #783E9C #975ABD #B386CF

Accessibility & contrast

On white

7.08
#783E9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#783E9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783E9C
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783E9C#FFFFFF#000000##FFFFFF
##783E9C1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B569F
Deuteranopia (green-blind)
#34599A
Tritanopia (blue-blind)
#734F67
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #783e9c;
/* rgb */ color: rgb(120, 62, 156);
/* oklch */ color: oklch(48.0% 0.153 310.4);
Tailwind
colors: {
  custom: {
    50: '#a276ba',
    500: '#783e9c',
    950: '#000000',
  },
}
SCSS
$custom: #783e9c;
$custom-light: #a276ba;
$custom-dark: #000000;
JSON
{
  "hex": "#783e9c",
  "rgb": {
    "r": 120,
    "g": 62,
    "b": 156
  },
  "hsl": {
    "h": 277.021,
    "s": 43.119,
    "l": 42.745
  },
  "oklch": {
    "l": 0.47966,
    "c": 0.1527,
    "h": 310.4
  },
  "luminance": 0.09839
}

Semantic roles & 50–950 ramp

primary
#783E9C
secondary
#94B97D
accent
#D35585
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #783E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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