#783ED5#783ED5

#783ED5 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.2% C 0.217 H 295.4°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#783ED5
RGBrgb(120, 62, 213)
HSLhsl(263, 64%, 54%)
HSVhsv(263, 71%, 84%)
CMYKcmyk(43.7%, 70.9%, 0%, 16.5%)
CIE-LABlab(41.60, 56.27, -68.37)
CIE-LCHlch(41.60, 88.55, 309.45°)
OKLaboklab(52.15% 0.0929 -0.1957)
OKLCHoklch(52.15% 0.217 295.4)
XYZxyz(21.4754, 12.2419, 64.1693)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783ED5 #9BD53E
analogous
#3E50D5 #783ED5 #C33ED5
triadic
#783ED5 #D5783E #3ED578
tetradic
#783ED5 #D53E50 #9BD53E #3ED5C3
square
#783ED5 #D53E50 #9BD53E #3ED5C3
split-complementary
#783ED5 #D5C33E #50D53E
monochromatic
#411B7D #5B26B0 #783ED5 #9B70E0 #BEA3EB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##783ED5#FFFFFF#000000##FFFFFF
##783ED51.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)
#0063D9
Deuteranopia (green-blind)
#0060D2
Tritanopia (blue-blind)
#5E6485
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #783ed5;
/* rgb */ color: rgb(120, 62, 213);
/* oklch */ color: oklch(52.2% 0.217 295.4);
Tailwind
colors: {
  custom: {
    50: '#a778e3',
    500: '#783ed5',
    950: '#000000',
  },
}
SCSS
$custom: #783ed5;
$custom-light: #a778e3;
$custom-dark: #000000;
JSON
{
  "hex": "#783ed5",
  "rgb": {
    "r": 120,
    "g": 62,
    "b": 213
  },
  "hsl": {
    "h": 263.046,
    "s": 64.255,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52153,
    "c": 0.21663,
    "h": 295.4
  },
  "luminance": 0.12242
}

Semantic roles & 50–950 ramp

primary
#783ED5
secondary
#BFD897
accent
#E741A7
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #783ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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