#783CB9#783CB9

#783CB9 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.7% C 0.188 H 301.9°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#783CB9
RGBrgb(120, 60, 185)
HSLhsl(269, 51%, 48%)
HSVhsv(269, 68%, 73%)
CMYKcmyk(35.1%, 67.6%, 0%, 27.5%)
CIE-LABlab(39.12, 50.17, -56.13)
CIE-LCHlch(39.12, 75.28, 311.80°)
OKLaboklab(49.72% 0.0995 -0.1597)
OKLCHoklch(49.72% 0.188 301.9)
XYZxyz(18.1165, 10.7275, 47.0057)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783CB9 #7DB93C
analogous
#3C3FB9 #783CB9 #B63CB9
triadic
#783CB9 #B9783C #3CB978
tetradic
#783CB9 #B93C3F #7DB93C #3CB9B6
square
#783CB9 #B93C3F #7DB93C #3CB9B6
split-complementary
#783CB9 #B9B63C #3FB93C
monochromatic
#3C1E5D #5A2D8B #783CB9 #9765CD #B693DC

Accessibility & contrast

On white

6.68
#783CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#783CB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783CB9
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783CB9#FFFFFF#000000##FFFFFF
##783CB91.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBD
Deuteranopia (green-blind)
#005CB6
Tritanopia (blue-blind)
#6B5976
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #783cb9;
/* rgb */ color: rgb(120, 60, 185);
/* oklch */ color: oklch(49.7% 0.188 301.9);
Tailwind
colors: {
  custom: {
    50: '#a476cf',
    500: '#783cb9',
    950: '#000000',
  },
}
SCSS
$custom: #783cb9;
$custom-light: #a476cf;
$custom-dark: #000000;
JSON
{
  "hex": "#783cb9",
  "rgb": {
    "r": 120,
    "g": 60,
    "b": 185
  },
  "hsl": {
    "h": 268.8,
    "s": 51.02,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49717,
    "c": 0.18813,
    "h": 301.9
  },
  "luminance": 0.10728
}

Semantic roles & 50–950 ramp

primary
#783CB9
secondary
#AAC789
accent
#DA4D97
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #783CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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