#783CC5#783CC5

#783CC5 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.6% C 0.201 H 299.0°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#783CC5
RGBrgb(120, 60, 197)
HSLhsl(266, 54%, 50%)
HSVhsv(266, 70%, 77%)
CMYKcmyk(39.1%, 69.5%, 0%, 22.7%)
CIE-LABlab(40.01, 53.16, -61.71)
CIE-LCHlch(40.01, 81.45, 310.75°)
OKLaboklab(50.63% 0.0978 -0.1761)
OKLCHoklch(50.63% 0.201 299)
XYZxyz(19.4371, 11.2558, 53.9610)
Luminance0.1126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783CC5 #89C53C
analogous
#3C45C5 #783CC5 #BC3CC5
triadic
#783CC5 #C5783C #3CC578
tetradic
#783CC5 #C53C45 #89C53C #3CC5BC
square
#783CC5 #C53C45 #89C53C #3CC5BC
split-complementary
#783CC5 #C5BC3C #45C53C
monochromatic
#3F1F68 #5B2D97 #783CC5 #996BD3 #B99AE1

Accessibility & contrast

On white

6.46
#783CC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #783CC5
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783CC5#FFFFFF#000000##FFFFFF
##783CC51.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #783cc5;
/* rgb */ color: rgb(120, 60, 197);
/* oklch */ color: oklch(50.6% 0.201 299.0);
Tailwind
colors: {
  custom: {
    50: '#a576d7',
    500: '#783cc5',
    950: '#000000',
  },
}
SCSS
$custom: #783cc5;
$custom-light: #a576d7;
$custom-dark: #000000;
JSON
{
  "hex": "#783cc5",
  "rgb": {
    "r": 120,
    "g": 60,
    "b": 197
  },
  "hsl": {
    "h": 266.277,
    "s": 54.15,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50633,
    "c": 0.20139,
    "h": 299
  },
  "luminance": 0.11256
}

Semantic roles & 50–950 ramp

primary
#783CC5
secondary
#B2CD90
accent
#DE4A9D
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100915
muted
#7F7B83

Preview Lab

Preview with #783CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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