#783CB4#783CB4

#783CB4 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.3% C 0.183 H 303.2°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#783CB4
RGBrgb(120, 60, 180)
HSLhsl(270, 50%, 47%)
HSVhsv(270, 67%, 71%)
CMYKcmyk(33.3%, 66.7%, 0%, 29.4%)
CIE-LABlab(38.76, 48.94, -53.76)
CIE-LCHlch(38.76, 72.70, 312.32°)
OKLaboklab(49.35% 0.1001 -0.1527)
OKLCHoklch(49.35% 0.183 303.2)
XYZxyz(17.5979, 10.5201, 44.2746)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783CB4 #78B43C
analogous
#3C3CB4 #783CB4 #B43CB4
triadic
#783CB4 #B4783C #3CB478
tetradic
#783CB4 #B43C3C #78B43C #3CB4B4
square
#783CB4 #B43C3C #78B43C #3CB4B4
split-complementary
#783CB4 #B4B43C #3CB43C
monochromatic
#3B1D58 #592D86 #783CB4 #9762CB #B590DA

Accessibility & contrast

On white

6.77
#783CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#783CB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783CB4
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783CB4#FFFFFF#000000##FFFFFF
##783CB41.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB8
Deuteranopia (green-blind)
#0C5BB1
Tritanopia (blue-blind)
#6C5773
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #783cb4;
/* rgb */ color: rgb(120, 60, 180);
/* oklch */ color: oklch(49.3% 0.183 303.2);
Tailwind
colors: {
  custom: {
    50: '#a476cb',
    500: '#783cb4',
    950: '#000000',
  },
}
SCSS
$custom: #783cb4;
$custom-light: #a476cb;
$custom-dark: #000000;
JSON
{
  "hex": "#783cb4",
  "rgb": {
    "r": 120,
    "g": 60,
    "b": 180
  },
  "hsl": {
    "h": 270,
    "s": 50,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49347,
    "c": 0.18258,
    "h": 303.2
  },
  "luminance": 0.1052
}

Semantic roles & 50–950 ramp

primary
#783CB4
secondary
#A6C587
accent
#DA4E94
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #783CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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