#783FD3#783FD3

#783FD3 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.1% C 0.213 H 295.7°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#783FD3
RGBrgb(120, 63, 211)
HSLhsl(263, 63%, 54%)
HSVhsv(263, 70%, 83%)
CMYKcmyk(43.1%, 70.1%, 0%, 17.3%)
CIE-LABlab(41.61, 55.27, -67.20)
CIE-LCHlch(41.61, 87.01, 309.44°)
OKLaboklab(52.11% 0.0924 -0.1922)
OKLCHoklch(52.11% 0.213 295.7)
XYZxyz(21.2780, 12.2507, 62.8589)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783FD3 #9AD33F
analogous
#3F50D3 #783FD3 #C23FD3
triadic
#783FD3 #D3783F #3FD378
tetradic
#783FD3 #D33F50 #9AD33F #3FD3C2
square
#783FD3 #D33F50 #9AD33F #3FD3C2
split-complementary
#783FD3 #D3C23F #50D33F
monochromatic
#411C7B #5B28AD #783FD3 #9B71DE #BEA3EA

Accessibility & contrast

On white

6.09
#783FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#783FD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783FD3
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783FD3#FFFFFF#000000##FFFFFF
##783FD31.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #783fd3;
/* rgb */ color: rgb(120, 63, 211);
/* oklch */ color: oklch(52.1% 0.213 295.7);
Tailwind
colors: {
  custom: {
    50: '#a679e2',
    500: '#783fd3',
    950: '#000000',
  },
}
SCSS
$custom: #783fd3;
$custom-light: #a679e2;
$custom-dark: #000000;
JSON
{
  "hex": "#783fd3",
  "rgb": {
    "r": 120,
    "g": 63,
    "b": 211
  },
  "hsl": {
    "h": 263.108,
    "s": 62.712,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52113,
    "c": 0.21328,
    "h": 295.7
  },
  "luminance": 0.12251
}

Semantic roles & 50–950 ramp

primary
#783FD3
secondary
#BED797
accent
#E642A7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #783FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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