#783CBA#783CBA

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

Color values

HEX#783CBA
RGBrgb(120, 60, 186)
HSLhsl(269, 51%, 48%)
HSVhsv(269, 68%, 73%)
CMYKcmyk(35.5%, 67.7%, 0%, 27.1%)
CIE-LABlab(39.19, 50.42, -56.60)
CIE-LCHlch(39.19, 75.80, 311.70°)
OKLaboklab(49.79% 0.0994 -0.1611)
OKLCHoklch(49.79% 0.189 301.7)
XYZxyz(18.2224, 10.7699, 47.5636)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783CBA #7EBA3C
analogous
#3C3FBA #783CBA #B73CBA
triadic
#783CBA #BA783C #3CBA78
tetradic
#783CBA #BA3C3F #7EBA3C #3CBAB7
square
#783CBA #BA3C3F #7EBA3C #3CBAB7
split-complementary
#783CBA #BAB73C #3FBA3C
monochromatic
#3C1E5D #5A2D8C #783CBA #9766CE #B694DC

Accessibility & contrast

On white

6.66
#783CBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #783CBA
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783CBA#FFFFFF#000000##FFFFFF
##783CBA1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#005CB7
Tritanopia (blue-blind)
#6A5976
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #783cba;
/* rgb */ color: rgb(120, 60, 186);
/* oklch */ color: oklch(49.8% 0.189 301.7);
Tailwind
colors: {
  custom: {
    50: '#a476d0',
    500: '#783cba',
    950: '#000000',
  },
}
SCSS
$custom: #783cba;
$custom-light: #a476d0;
$custom-dark: #000000;
JSON
{
  "hex": "#783cba",
  "rgb": {
    "r": 120,
    "g": 60,
    "b": 186
  },
  "hsl": {
    "h": 268.571,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49792,
    "c": 0.18925,
    "h": 301.7
  },
  "luminance": 0.1077
}

Semantic roles & 50–950 ramp

primary
#783CBA
secondary
#AAC88A
accent
#DB4D97
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #783CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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