#783FCC#783FCC

#783FCC is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.6% C 0.206 H 297.1°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#783FCC
RGBrgb(120, 63, 204)
HSLhsl(264, 58%, 52%)
HSVhsv(264, 69%, 80%)
CMYKcmyk(41.2%, 69.1%, 0%, 20%)
CIE-LABlab(41.07, 53.48, -64.05)
CIE-LCHlch(41.07, 83.44, 309.86°)
OKLaboklab(51.56% 0.0936 -0.183)
OKLCHoklch(51.56% 0.206 297.1)
XYZxyz(20.4195, 11.9073, 58.3376)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783FCC #93CC3F
analogous
#3F4DCC #783FCC #BE3FCC
triadic
#783FCC #CC783F #3FCC78
tetradic
#783FCC #CC3F4D #93CC3F #3FCCBE
square
#783FCC #CC3F4D #93CC3F #3FCCBE
split-complementary
#783FCC #CCBE3F #4DCC3F
monochromatic
#401E72 #5B2BA3 #783FCC #9A6FD9 #BCA0E6

Accessibility & contrast

On white

6.21
#783FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#783FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783FCC
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783FCC#FFFFFF#000000##FFFFFF
##783FCC1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D0
Deuteranopia (green-blind)
#005FC9
Tritanopia (blue-blind)
#636181
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #783fcc;
/* rgb */ color: rgb(120, 63, 204);
/* oklch */ color: oklch(51.6% 0.206 297.1);
Tailwind
colors: {
  custom: {
    50: '#a678dc',
    500: '#783fcc',
    950: '#000000',
  },
}
SCSS
$custom: #783fcc;
$custom-light: #a678dc;
$custom-dark: #000000;
JSON
{
  "hex": "#783fcc",
  "rgb": {
    "r": 120,
    "g": 63,
    "b": 204
  },
  "hsl": {
    "h": 264.255,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51557,
    "c": 0.20552,
    "h": 297.1
  },
  "luminance": 0.11908
}

Semantic roles & 50–950 ramp

primary
#783FCC
secondary
#B9D295
accent
#E147A3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #783FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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