#783DD9#783DD9

#783DD9 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.4% C 0.222 H 294.8°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#783DD9
RGBrgb(120, 61, 217)
HSLhsl(263, 67%, 55%)
HSVhsv(263, 72%, 85%)
CMYKcmyk(44.7%, 71.9%, 0%, 14.9%)
CIE-LABlab(41.75, 57.77, -70.42)
CIE-LCHlch(41.75, 91.08, 309.36°)
OKLaboklab(52.36% 0.093 -0.2017)
OKLCHoklch(52.36% 0.222 294.8)
XYZxyz(21.9355, 12.3397, 66.8583)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783DD9 #9ED93D
analogous
#3D50D9 #783DD9 #C63DD9
triadic
#783DD9 #D9783D #3DD978
tetradic
#783DD9 #D93D50 #9ED93D #3DD9C6
square
#783DD9 #D93D50 #9ED93D #3DD9C6
split-complementary
#783DD9 #D9C63D #50D93D
monochromatic
#411982 #5B24B5 #783DD9 #9C70E3 #BFA3ED

Accessibility & contrast

On white

6.06
#783DD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #783DD9
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783DD9#FFFFFF#000000##FFFFFF
##783DD91.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DE
Deuteranopia (green-blind)
#0060D6
Tritanopia (blue-blind)
#5C6587
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #783dd9;
/* rgb */ color: rgb(120, 61, 217);
/* oklch */ color: oklch(52.4% 0.222 294.8);
Tailwind
colors: {
  custom: {
    50: '#a778e6',
    500: '#783dd9',
    950: '#000000',
  },
}
SCSS
$custom: #783dd9;
$custom-light: #a778e6;
$custom-dark: #000000;
JSON
{
  "hex": "#783dd9",
  "rgb": {
    "r": 120,
    "g": 61,
    "b": 217
  },
  "hsl": {
    "h": 262.692,
    "s": 67.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52361,
    "c": 0.22211,
    "h": 294.8
  },
  "luminance": 0.1234
}

Semantic roles & 50–950 ramp

primary
#783DD9
secondary
#C1DA98
accent
#EA3EA9
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #783DD9

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

Preview Lab → · Contrast checker → · Palette generator →

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