#783CC4#783CC4

#783CC4 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.6% C 0.200 H 299.3°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#783CC4
RGBrgb(120, 60, 196)
HSLhsl(266, 54%, 50%)
HSVhsv(266, 69%, 77%)
CMYKcmyk(38.8%, 69.4%, 0%, 23.1%)
CIE-LABlab(39.93, 52.91, -61.25)
CIE-LCHlch(39.93, 80.94, 310.83°)
OKLaboklab(50.56% 0.0979 -0.1747)
OKLCHoklch(50.56% 0.2 299.3)
XYZxyz(19.3229, 11.2101, 53.3596)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783CC4 #88C43C
analogous
#3C44C4 #783CC4 #BC3CC4
triadic
#783CC4 #C4783C #3CC478
tetradic
#783CC4 #C43C44 #88C43C #3CC4BC
square
#783CC4 #C43C44 #88C43C #3CC4BC
split-complementary
#783CC4 #C4BC3C #44C43C
monochromatic
#3F1F67 #5B2D96 #783CC4 #996BD2 #B99AE0

Accessibility & contrast

On white

6.48
#783CC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#783CC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783CC4
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783CC4#FFFFFF#000000##FFFFFF
##783CC41.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC8
Deuteranopia (green-blind)
#005DC1
Tritanopia (blue-blind)
#665D7C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #783cc4;
/* rgb */ color: rgb(120, 60, 196);
/* oklch */ color: oklch(50.6% 0.200 299.3);
Tailwind
colors: {
  custom: {
    50: '#a576d7',
    500: '#783cc4',
    950: '#000000',
  },
}
SCSS
$custom: #783cc4;
$custom-light: #a576d7;
$custom-dark: #000000;
JSON
{
  "hex": "#783cc4",
  "rgb": {
    "r": 120,
    "g": 60,
    "b": 196
  },
  "hsl": {
    "h": 266.471,
    "s": 53.543,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50555,
    "c": 0.20029,
    "h": 299.3
  },
  "luminance": 0.1121
}

Semantic roles & 50–950 ramp

primary
#783CC4
secondary
#B1CC90
accent
#DD4B9C
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #783CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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