#783DC2#783DC2

#783DC2 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.5% C 0.197 H 299.6°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#783DC2
RGBrgb(120, 61, 194)
HSLhsl(267, 52%, 50%)
HSVhsv(267, 69%, 76%)
CMYKcmyk(38.1%, 68.6%, 0%, 23.9%)
CIE-LABlab(39.96, 51.92, -60.04)
CIE-LCHlch(39.96, 79.38, 310.85°)
OKLaboklab(50.53% 0.0972 -0.1712)
OKLCHoklch(50.53% 0.197 299.6)
XYZxyz(19.1497, 11.2254, 52.1863)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783DC2 #87C23D
analogous
#3D44C2 #783DC2 #BB3DC2
triadic
#783DC2 #C2783D #3DC278
tetradic
#783DC2 #C23D44 #87C23D #3DC2BB
square
#783DC2 #C23D44 #87C23D #3DC2BB
split-complementary
#783DC2 #C2BB3D #44C23D
monochromatic
#3E2065 #5B2E93 #783DC2 #986CD1 #B99ADF

Accessibility & contrast

On white

6.47
#783DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#783DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783DC2
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783DC2#FFFFFF#000000##FFFFFF
##783DC21.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#005DBF
Tritanopia (blue-blind)
#675D7B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #783dc2;
/* rgb */ color: rgb(120, 61, 194);
/* oklch */ color: oklch(50.5% 0.197 299.6);
Tailwind
colors: {
  custom: {
    50: '#a577d5',
    500: '#783dc2',
    950: '#000000',
  },
}
SCSS
$custom: #783dc2;
$custom-light: #a577d5;
$custom-dark: #000000;
JSON
{
  "hex": "#783dc2",
  "rgb": {
    "r": 120,
    "g": 61,
    "b": 194
  },
  "hsl": {
    "h": 266.617,
    "s": 52.157,
    "l": 50
  },
  "oklch": {
    "l": 0.50526,
    "c": 0.19685,
    "h": 299.6
  },
  "luminance": 0.11226
}

Semantic roles & 50–950 ramp

primary
#783DC2
secondary
#B1CB90
accent
#DC4C9C
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #783DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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