#783FD9#783FD9

#783FD9 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.6% C 0.220 H 294.5°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#783FD9
RGBrgb(120, 63, 217)
HSLhsl(262, 67%, 55%)
HSVhsv(262, 71%, 85%)
CMYKcmyk(44.7%, 71%, 0%, 14.9%)
CIE-LABlab(42.09, 56.82, -69.87)
CIE-LCHlch(42.09, 90.06, 309.12°)
OKLaboklab(52.6% 0.0912 -0.2001)
OKLCHoklch(52.6% 0.22 294.5)
XYZxyz(22.0442, 12.5572, 66.8945)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783FD9 #A0D93F
analogous
#3F53D9 #783FD9 #C53FD9
triadic
#783FD9 #D9783F #3FD978
tetradic
#783FD9 #D93F53 #A0D93F #3FD9C5
square
#783FD9 #D93F53 #A0D93F #3FD9C5
split-complementary
#783FD9 #D9C53F #53D93F
monochromatic
#411A84 #5A24B7 #783FD9 #9C72E3 #C0A5ED

Accessibility & contrast

On white

5.98
#783FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#783FD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783FD9
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783FD9#FFFFFF#000000##FFFFFF
##783FD91.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DE
Deuteranopia (green-blind)
#0061D6
Tritanopia (blue-blind)
#5C6688
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #783fd9;
/* rgb */ color: rgb(120, 63, 217);
/* oklch */ color: oklch(52.6% 0.220 294.5);
Tailwind
colors: {
  custom: {
    50: '#a779e6',
    500: '#783fd9',
    950: '#000000',
  },
}
SCSS
$custom: #783fd9;
$custom-light: #a779e6;
$custom-dark: #000000;
JSON
{
  "hex": "#783fd9",
  "rgb": {
    "r": 120,
    "g": 63,
    "b": 217
  },
  "hsl": {
    "h": 262.208,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.526,
    "c": 0.2199,
    "h": 294.5
  },
  "luminance": 0.12558
}

Semantic roles & 50–950 ramp

primary
#783FD9
secondary
#C2DA9A
accent
#EA3EAA
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #783FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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