#783DC7#783DC7

#783DC7 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 50.9% C 0.202 H 298.5°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#783DC7
RGBrgb(120, 61, 199)
HSLhsl(266, 55%, 51%)
HSVhsv(266, 69%, 78%)
CMYKcmyk(39.7%, 69.3%, 0%, 22%)
CIE-LABlab(40.33, 53.18, -62.34)
CIE-LCHlch(40.33, 81.94, 310.47°)
OKLaboklab(50.91% 0.0964 -0.1779)
OKLCHoklch(50.91% 0.202 298.5)
XYZxyz(19.7207, 11.4538, 55.1936)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783DC7 #8CC73D
analogous
#3D47C7 #783DC7 #BD3DC7
triadic
#783DC7 #C7783D #3DC778
tetradic
#783DC7 #C73D47 #8CC73D #3DC7BD
square
#783DC7 #C73D47 #8CC73D #3DC7BD
split-complementary
#783DC7 #C7BD3D #47C73D
monochromatic
#3F1F6B #5B2D9A #783DC7 #996CD5 #BA9CE2

Accessibility & contrast

On white

6.38
#783DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#783DC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783DC7
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783DC7#FFFFFF#000000##FFFFFF
##783DC71.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCB
Deuteranopia (green-blind)
#005EC4
Tritanopia (blue-blind)
#655E7D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #783dc7;
/* rgb */ color: rgb(120, 61, 199);
/* oklch */ color: oklch(50.9% 0.202 298.5);
Tailwind
colors: {
  custom: {
    50: '#a577d9',
    500: '#783dc7',
    950: '#000000',
  },
}
SCSS
$custom: #783dc7;
$custom-light: #a577d9;
$custom-dark: #000000;
JSON
{
  "hex": "#783dc7",
  "rgb": {
    "r": 120,
    "g": 61,
    "b": 199
  },
  "hsl": {
    "h": 265.652,
    "s": 55.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.50914,
    "c": 0.20238,
    "h": 298.5
  },
  "luminance": 0.11454
}

Semantic roles & 50–950 ramp

primary
#783DC7
secondary
#B4CE91
accent
#DF499F
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #783DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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