#783CB7#783CB7

#783CB7 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.6% C 0.186 H 302.4°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#783CB7
RGBrgb(120, 60, 183)
HSLhsl(269, 51%, 48%)
HSVhsv(269, 67%, 72%)
CMYKcmyk(34.4%, 67.2%, 0%, 28.2%)
CIE-LABlab(38.97, 49.68, -55.18)
CIE-LCHlch(38.97, 74.25, 312.00°)
OKLaboklab(49.57% 0.0997 -0.1569)
OKLCHoklch(49.57% 0.186 302.4)
XYZxyz(17.9068, 10.6437, 45.9016)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783CB7 #7BB73C
analogous
#3C3EB7 #783CB7 #B53CB7
triadic
#783CB7 #B7783C #3CB778
tetradic
#783CB7 #B73C3E #7BB73C #3CB7B5
square
#783CB7 #B73C3E #7BB73C #3CB7B5
split-complementary
#783CB7 #B7B53C #3EB73C
monochromatic
#3C1E5B #5A2D89 #783CB7 #9764CC #B692DB

Accessibility & contrast

On white

6.71
#783CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#783CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783CB7
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783CB7#FFFFFF#000000##FFFFFF
##783CB71.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#005BB4
Tritanopia (blue-blind)
#6B5874
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #783cb7;
/* rgb */ color: rgb(120, 60, 183);
/* oklch */ color: oklch(49.6% 0.186 302.4);
Tailwind
colors: {
  custom: {
    50: '#a476cd',
    500: '#783cb7',
    950: '#000000',
  },
}
SCSS
$custom: #783cb7;
$custom-light: #a476cd;
$custom-dark: #000000;
JSON
{
  "hex": "#783cb7",
  "rgb": {
    "r": 120,
    "g": 60,
    "b": 183
  },
  "hsl": {
    "h": 269.268,
    "s": 50.617,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49568,
    "c": 0.18591,
    "h": 302.4
  },
  "luminance": 0.10644
}

Semantic roles & 50–950 ramp

primary
#783CB7
secondary
#A8C688
accent
#DA4E96
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #783CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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