#783ED7#783ED7

#783ED7 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.3% C 0.219 H 295.0°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#783ED7
RGBrgb(120, 62, 215)
HSLhsl(263, 66%, 54%)
HSVhsv(263, 71%, 84%)
CMYKcmyk(44.2%, 71.2%, 0%, 15.7%)
CIE-LABlab(41.76, 56.78, -69.26)
CIE-LCHlch(41.76, 89.56, 309.34°)
OKLaboklab(52.32% 0.0925 -0.1983)
OKLCHoklch(52.32% 0.219 295)
XYZxyz(21.7308, 12.3441, 65.5145)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783ED7 #9DD73E
analogous
#3E51D7 #783ED7 #C43ED7
triadic
#783ED7 #D7783E #3ED778
tetradic
#783ED7 #D73E51 #9DD73E #3ED7C4
square
#783ED7 #D73E51 #9DD73E #3ED7C4
split-complementary
#783ED7 #D7C43E #51D73E
monochromatic
#411B80 #5B25B3 #783ED7 #9B71E2 #BFA3EC

Accessibility & contrast

On white

6.05
#783ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#783ED7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783ED7
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783ED7#FFFFFF#000000##FFFFFF
##783ED71.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DB
Deuteranopia (green-blind)
#0060D4
Tritanopia (blue-blind)
#5D6587
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #783ed7;
/* rgb */ color: rgb(120, 62, 215);
/* oklch */ color: oklch(52.3% 0.219 295.0);
Tailwind
colors: {
  custom: {
    50: '#a778e4',
    500: '#783ed7',
    950: '#000000',
  },
}
SCSS
$custom: #783ed7;
$custom-light: #a778e4;
$custom-dark: #000000;
JSON
{
  "hex": "#783ed7",
  "rgb": {
    "r": 120,
    "g": 62,
    "b": 215
  },
  "hsl": {
    "h": 262.745,
    "s": 65.665,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52315,
    "c": 0.21882,
    "h": 295
  },
  "luminance": 0.12345
}

Semantic roles & 50–950 ramp

primary
#783ED7
secondary
#C0D998
accent
#E93FA8
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #783ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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