#783CB1#783CB1

#783CB1 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.1% C 0.179 H 304.1°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#783CB1
RGBrgb(120, 60, 177)
HSLhsl(271, 49%, 46%)
HSVhsv(271, 66%, 69%)
CMYKcmyk(32.2%, 66.1%, 0%, 30.6%)
CIE-LABlab(38.55, 48.21, -52.32)
CIE-LCHlch(38.55, 71.15, 312.66°)
OKLaboklab(49.13% 0.1004 -0.1485)
OKLCHoklch(49.13% 0.179 304.1)
XYZxyz(17.2956, 10.3992, 42.6825)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783CB1 #75B13C
analogous
#3E3CB1 #783CB1 #B13CB0
triadic
#783CB1 #B1783C #3CB178
tetradic
#783CB1 #B13E3C #75B13C #3CB0B1
square
#783CB1 #B13E3C #75B13C #3CB0B1
split-complementary
#783CB1 #B0B13C #3CB13E
monochromatic
#3A1D56 #592D83 #783CB1 #9661C9 #B58FD9

Accessibility & contrast

On white

6.82
#783CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#783CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783CB1
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783CB1#FFFFFF#000000##FFFFFF
##783CB11.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B5
Deuteranopia (green-blind)
#155BAE
Tritanopia (blue-blind)
#6D5671
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #783cb1;
/* rgb */ color: rgb(120, 60, 177);
/* oklch */ color: oklch(49.1% 0.179 304.1);
Tailwind
colors: {
  custom: {
    50: '#a376c9',
    500: '#783cb1',
    950: '#000000',
  },
}
SCSS
$custom: #783cb1;
$custom-light: #a376c9;
$custom-dark: #000000;
JSON
{
  "hex": "#783cb1",
  "rgb": {
    "r": 120,
    "g": 60,
    "b": 177
  },
  "hsl": {
    "h": 270.769,
    "s": 49.367,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49129,
    "c": 0.17924,
    "h": 304.1
  },
  "luminance": 0.10399
}

Semantic roles & 50–950 ramp

primary
#783CB1
secondary
#A4C485
accent
#D94F92
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #783CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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