#783DCA#783DCA

#783DCA is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.1% C 0.206 H 297.8°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#783DCA
RGBrgb(120, 61, 202)
HSLhsl(265, 57%, 52%)
HSVhsv(265, 70%, 79%)
CMYKcmyk(40.6%, 69.8%, 0%, 20.8%)
CIE-LABlab(40.56, 53.94, -63.71)
CIE-LCHlch(40.56, 83.48, 310.26°)
OKLaboklab(51.15% 0.0959 -0.182)
OKLCHoklch(51.15% 0.206 297.8)
XYZxyz(20.0724, 11.5945, 57.0461)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783DCA #8FCA3D
analogous
#3D49CA #783DCA #BE3DCA
triadic
#783DCA #CA783D #3DCA78
tetradic
#783DCA #CA3D49 #8FCA3D #3DCABE
square
#783DCA #CA3D49 #8FCA3D #3DCABE
split-complementary
#783DCA #CABE3D #49CA3D
monochromatic
#401E6E #5C2B9F #783DCA #996DD7 #BB9DE4

Accessibility & contrast

On white

6.33
#783DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#783DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783DCA
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783DCA#FFFFFF#000000##FFFFFF
##783DCA1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#005EC7
Tritanopia (blue-blind)
#64607F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #783dca;
/* rgb */ color: rgb(120, 61, 202);
/* oklch */ color: oklch(51.1% 0.206 297.8);
Tailwind
colors: {
  custom: {
    50: '#a577db',
    500: '#783dca',
    950: '#000000',
  },
}
SCSS
$custom: #783dca;
$custom-light: #a577db;
$custom-dark: #000000;
JSON
{
  "hex": "#783dca",
  "rgb": {
    "r": 120,
    "g": 61,
    "b": 202
  },
  "hsl": {
    "h": 265.106,
    "s": 57.085,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51149,
    "c": 0.2057,
    "h": 297.8
  },
  "luminance": 0.11595
}

Semantic roles & 50–950 ramp

primary
#783DCA
secondary
#B6D092
accent
#E047A0
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #783DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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