#783FD2#783FD2

#783FD2 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.0% C 0.212 H 295.9°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#783FD2
RGBrgb(120, 63, 210)
HSLhsl(263, 62%, 54%)
HSVhsv(263, 70%, 82%)
CMYKcmyk(42.9%, 70%, 0%, 17.6%)
CIE-LABlab(41.53, 55.02, -66.75)
CIE-LCHlch(41.53, 86.50, 309.49°)
OKLaboklab(52.03% 0.0926 -0.1909)
OKLCHoklch(52.03% 0.212 295.9)
XYZxyz(21.1530, 12.2007, 62.2008)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783FD2 #99D23F
analogous
#3F4FD2 #783FD2 #C13FD2
triadic
#783FD2 #D2783F #3FD278
tetradic
#783FD2 #D23F4F #99D23F #3FD2C1
square
#783FD2 #D23F4F #99D23F #3FD2C1
split-complementary
#783FD2 #D2C13F #4FD23F
monochromatic
#411D7A #5B28AC #783FD2 #9B71DE #BEA2E9

Accessibility & contrast

On white

6.10
#783FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#783FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783FD2
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783FD2#FFFFFF#000000##FFFFFF
##783FD21.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D6
Deuteranopia (green-blind)
#0060CF
Tritanopia (blue-blind)
#606484
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #783fd2;
/* rgb */ color: rgb(120, 63, 210);
/* oklch */ color: oklch(52.0% 0.212 295.9);
Tailwind
colors: {
  custom: {
    50: '#a679e1',
    500: '#783fd2',
    950: '#000000',
  },
}
SCSS
$custom: #783fd2;
$custom-light: #a679e1;
$custom-dark: #000000;
JSON
{
  "hex": "#783fd2",
  "rgb": {
    "r": 120,
    "g": 63,
    "b": 210
  },
  "hsl": {
    "h": 263.265,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52033,
    "c": 0.21218,
    "h": 295.9
  },
  "luminance": 0.12201
}

Semantic roles & 50–950 ramp

primary
#783FD2
secondary
#BDD697
accent
#E543A6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #783FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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