#783FCE#783FCE

#783FCE is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.7% C 0.208 H 296.7°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#783FCE
RGBrgb(120, 63, 206)
HSLhsl(264, 59%, 53%)
HSVhsv(264, 69%, 81%)
CMYKcmyk(41.7%, 69.4%, 0%, 19.2%)
CIE-LABlab(41.22, 53.99, -64.95)
CIE-LCHlch(41.22, 84.46, 309.73°)
OKLaboklab(51.71% 0.0933 -0.1856)
OKLCHoklch(51.71% 0.208 296.7)
XYZxyz(20.6609, 12.0039, 59.6090)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783FCE #95CE3F
analogous
#3F4DCE #783FCE #BF3FCE
triadic
#783FCE #CE783F #3FCE78
tetradic
#783FCE #CE3F4D #95CE3F #3FCEBF
square
#783FCE #CE3F4D #95CE3F #3FCEBF
split-complementary
#783FCE #CEBF3F #4DCE3F
monochromatic
#401E75 #5B2AA6 #783FCE #9A70DA #BDA1E7

Accessibility & contrast

On white

6.18
#783FCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#783FCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783FCE
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783FCE#FFFFFF#000000##FFFFFF
##783FCE1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D2
Deuteranopia (green-blind)
#005FCB
Tritanopia (blue-blind)
#626282
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #783fce;
/* rgb */ color: rgb(120, 63, 206);
/* oklch */ color: oklch(51.7% 0.208 296.7);
Tailwind
colors: {
  custom: {
    50: '#a678de',
    500: '#783fce',
    950: '#000000',
  },
}
SCSS
$custom: #783fce;
$custom-light: #a678de;
$custom-dark: #000000;
JSON
{
  "hex": "#783fce",
  "rgb": {
    "r": 120,
    "g": 63,
    "b": 206
  },
  "hsl": {
    "h": 263.916,
    "s": 59.336,
    "l": 52.745
  },
  "oklch": {
    "l": 0.51714,
    "c": 0.20774,
    "h": 296.7
  },
  "luminance": 0.12004
}

Semantic roles & 50–950 ramp

primary
#783FCE
secondary
#BBD395
accent
#E345A4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #783FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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