#783DB9#783DB9

#783DB9 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.8% C 0.187 H 301.8°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#783DB9
RGBrgb(120, 61, 185)
HSLhsl(269, 50%, 48%)
HSVhsv(269, 67%, 73%)
CMYKcmyk(35.1%, 67%, 0%, 27.5%)
CIE-LABlab(39.30, 49.67, -55.83)
CIE-LCHlch(39.30, 74.73, 311.66°)
OKLaboklab(49.85% 0.0984 -0.1588)
OKLCHoklch(49.85% 0.187 301.8)
XYZxyz(18.1693, 10.8333, 47.0233)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783DB9 #7EB93D
analogous
#3D40B9 #783DB9 #B63DB9
triadic
#783DB9 #B9783D #3DB978
tetradic
#783DB9 #B93D40 #7EB93D #3DB9B6
square
#783DB9 #B93D40 #7EB93D #3DB9B6
split-complementary
#783DB9 #B9B63D #40B93D
monochromatic
#3C1F5D #5A2E8B #783DB9 #9766CD #B695DC

Accessibility & contrast

On white

6.63
#783DB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#783DB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783DB9
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783DB9#FFFFFF#000000##FFFFFF
##783DB91.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBD
Deuteranopia (green-blind)
#005CB6
Tritanopia (blue-blind)
#6A5976
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #783db9;
/* rgb */ color: rgb(120, 61, 185);
/* oklch */ color: oklch(49.8% 0.187 301.8);
Tailwind
colors: {
  custom: {
    50: '#a476cf',
    500: '#783db9',
    950: '#000000',
  },
}
SCSS
$custom: #783db9;
$custom-light: #a476cf;
$custom-dark: #000000;
JSON
{
  "hex": "#783db9",
  "rgb": {
    "r": 120,
    "g": 61,
    "b": 185
  },
  "hsl": {
    "h": 268.548,
    "s": 50.407,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49847,
    "c": 0.18684,
    "h": 301.8
  },
  "luminance": 0.10833
}

Semantic roles & 50–950 ramp

primary
#783DB9
secondary
#AAC78B
accent
#DA4E97
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #783DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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