#783FD4#783FD4

#783FD4 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.2% C 0.214 H 295.5°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#783FD4
RGBrgb(120, 63, 212)
HSLhsl(263, 63%, 54%)
HSVhsv(263, 70%, 83%)
CMYKcmyk(43.4%, 70.3%, 0%, 16.9%)
CIE-LABlab(41.69, 55.53, -67.65)
CIE-LCHlch(41.69, 87.52, 309.38°)
OKLaboklab(52.19% 0.0922 -0.1936)
OKLCHoklch(52.19% 0.214 295.5)
XYZxyz(21.4037, 12.3010, 63.5212)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783FD4 #9BD43F
analogous
#3F51D4 #783FD4 #C33FD4
triadic
#783FD4 #D4783F #3FD478
tetradic
#783FD4 #D43F51 #9BD43F #3FD4C3
square
#783FD4 #D43F51 #9BD43F #3FD4C3
split-complementary
#783FD4 #D4C33F #51D43F
monochromatic
#411C7D #5B27AF #783FD4 #9B71DF #BEA3EA

Accessibility & contrast

On white

6.07
#783FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#783FD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783FD4
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783FD4#FFFFFF#000000##FFFFFF
##783FD41.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D8
Deuteranopia (green-blind)
#0060D1
Tritanopia (blue-blind)
#5F6485
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #783fd4;
/* rgb */ color: rgb(120, 63, 212);
/* oklch */ color: oklch(52.2% 0.214 295.5);
Tailwind
colors: {
  custom: {
    50: '#a679e2',
    500: '#783fd4',
    950: '#000000',
  },
}
SCSS
$custom: #783fd4;
$custom-light: #a679e2;
$custom-dark: #000000;
JSON
{
  "hex": "#783fd4",
  "rgb": {
    "r": 120,
    "g": 63,
    "b": 212
  },
  "hsl": {
    "h": 262.953,
    "s": 63.404,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52194,
    "c": 0.2144,
    "h": 295.5
  },
  "luminance": 0.12302
}

Semantic roles & 50–950 ramp

primary
#783FD4
secondary
#BFD798
accent
#E641A7
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100915
muted
#7F7B84

Preview Lab

Preview with #783FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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