#783CD9#783CD9

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

Color values

HEX#783CD9
RGBrgb(120, 60, 217)
HSLhsl(263, 67%, 54%)
HSVhsv(263, 72%, 85%)
CMYKcmyk(44.7%, 72.4%, 0%, 14.9%)
CIE-LABlab(41.59, 58.23, -70.69)
CIE-LCHlch(41.59, 91.59, 309.48°)
OKLaboklab(52.24% 0.0939 -0.2025)
OKLCHoklch(52.24% 0.223 294.9)
XYZxyz(21.8826, 12.2340, 66.8406)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783CD9 #9DD93C
analogous
#3C4FD9 #783CD9 #C73CD9
triadic
#783CD9 #D9783C #3CD978
tetradic
#783CD9 #D93C4F #9DD93C #3CD9C7
square
#783CD9 #D93C4F #9DD93C #3CD9C7
split-complementary
#783CD9 #D9C73C #4FD93C
monochromatic
#411981 #5B23B5 #783CD9 #9B6FE3 #BFA2ED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##783CD9#FFFFFF#000000##FFFFFF
##783CD91.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)
#0063DE
Deuteranopia (green-blind)
#0060D6
Tritanopia (blue-blind)
#5D6587
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #783cd9;
/* rgb */ color: rgb(120, 60, 217);
/* oklch */ color: oklch(52.2% 0.223 294.9);
Tailwind
colors: {
  custom: {
    50: '#a777e6',
    500: '#783cd9',
    950: '#000000',
  },
}
SCSS
$custom: #783cd9;
$custom-light: #a777e6;
$custom-dark: #000000;
JSON
{
  "hex": "#783cd9",
  "rgb": {
    "r": 120,
    "g": 60,
    "b": 217
  },
  "hsl": {
    "h": 262.93,
    "s": 67.382,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52244,
    "c": 0.22319,
    "h": 294.9
  },
  "luminance": 0.12235
}

Semantic roles & 50–950 ramp

primary
#783CD9
secondary
#C0DA97
accent
#EA3EA8
background
#FAF7FE
surface
#F5EDFC
border
#CFC8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #783CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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