#783CC2#783CC2

#783CC2 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.4% C 0.198 H 299.7°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#783CC2
RGBrgb(120, 60, 194)
HSLhsl(267, 53%, 50%)
HSVhsv(267, 69%, 76%)
CMYKcmyk(38.1%, 69.1%, 0%, 23.9%)
CIE-LABlab(39.78, 52.41, -60.33)
CIE-LCHlch(39.78, 79.91, 310.99°)
OKLaboklab(50.4% 0.0982 -0.172)
OKLCHoklch(50.4% 0.198 299.7)
XYZxyz(19.0968, 11.1196, 52.1687)
Luminance0.1112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783CC2 #86C23C
analogous
#3C43C2 #783CC2 #BB3CC2
triadic
#783CC2 #C2783C #3CC278
tetradic
#783CC2 #C23C43 #86C23C #3CC2BB
square
#783CC2 #C23C43 #86C23C #3CC2BB
split-complementary
#783CC2 #C2BB3C #43C23C
monochromatic
#3E1F65 #5B2E93 #783CC2 #986AD1 #B999DF

Accessibility & contrast

On white

6.51
#783CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#783CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783CC2
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783CC2#FFFFFF#000000##FFFFFF
##783CC21.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #783cc2;
/* rgb */ color: rgb(120, 60, 194);
/* oklch */ color: oklch(50.4% 0.198 299.7);
Tailwind
colors: {
  custom: {
    50: '#a576d5',
    500: '#783cc2',
    950: '#000000',
  },
}
SCSS
$custom: #783cc2;
$custom-light: #a576d5;
$custom-dark: #000000;
JSON
{
  "hex": "#783cc2",
  "rgb": {
    "r": 120,
    "g": 60,
    "b": 194
  },
  "hsl": {
    "h": 266.866,
    "s": 52.756,
    "l": 49.804
  },
  "oklch": {
    "l": 0.504,
    "c": 0.19809,
    "h": 299.7
  },
  "luminance": 0.1112
}

Semantic roles & 50–950 ramp

primary
#783CC2
secondary
#B0CB8F
accent
#DC4C9B
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #783CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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