#783B9D#783B9D

#783B9D is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.6% C 0.158 H 310.4°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#783B9D
RGBrgb(120, 59, 157)
HSLhsl(277, 45%, 42%)
HSVhsv(277, 62%, 62%)
CMYKcmyk(23.6%, 62.4%, 0%, 38.4%)
CIE-LABlab(37.03, 43.96, -42.81)
CIE-LCHlch(37.03, 61.36, 315.76°)
OKLaboklab(47.61% 0.1028 -0.1205)
OKLCHoklch(47.61% 0.158 310.4)
XYZxyz(15.3943, 9.5556, 32.9252)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783B9D #609D3B
analogous
#473B9D #783B9D #9D3B91
triadic
#783B9D #9D783B #3B9D78
tetradic
#783B9D #9D473B #609D3B #3B919D
square
#783B9D #9D473B #609D3B #3B919D
split-complementary
#783B9D #919D3B #3B9D47
monochromatic
#341A44 #562A71 #783B9D #9856BF #B382D0

Accessibility & contrast

On white

7.21
#783B9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#783B9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783B9D
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783B9D#FFFFFF#000000##FFFFFF
##783B9D1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1154A0
Deuteranopia (green-blind)
#30589B
Tritanopia (blue-blind)
#734E66
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #783b9d;
/* rgb */ color: rgb(120, 59, 157);
/* oklch */ color: oklch(47.6% 0.158 310.4);
Tailwind
colors: {
  custom: {
    50: '#a274ba',
    500: '#783b9d',
    950: '#000000',
  },
}
SCSS
$custom: #783b9d;
$custom-light: #a274ba;
$custom-dark: #000000;
JSON
{
  "hex": "#783b9d",
  "rgb": {
    "r": 120,
    "g": 59,
    "b": 157
  },
  "hsl": {
    "h": 277.347,
    "s": 45.37,
    "l": 42.353
  },
  "oklch": {
    "l": 0.47609,
    "c": 0.1584,
    "h": 310.4
  },
  "luminance": 0.09555
}

Semantic roles & 50–950 ramp

primary
#783B9D
secondary
#92BA7A
accent
#D55384
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #783B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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