#783CD3#783CD3

#783CD3 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.7% C 0.217 H 296.1°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#783CD3
RGBrgb(120, 60, 211)
HSLhsl(264, 63%, 53%)
HSVhsv(264, 72%, 83%)
CMYKcmyk(43.1%, 71.6%, 0%, 17.3%)
CIE-LABlab(41.10, 56.70, -68.04)
CIE-LCHlch(41.10, 88.57, 309.81°)
OKLaboklab(51.75% 0.0952 -0.1947)
OKLCHoklch(51.75% 0.217 296.1)
XYZxyz(21.1163, 11.9275, 62.8051)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783CD3 #97D33C
analogous
#3C4BD3 #783CD3 #C33CD3
triadic
#783CD3 #D3783C #3CD378
tetradic
#783CD3 #D33C4B #97D33C #3CD3C3
square
#783CD3 #D33C4B #97D33C #3CD3C3
split-complementary
#783CD3 #D3C33C #4BD33C
monochromatic
#411B79 #5B27AB #783CD3 #9B6EDE #BDA0EA

Accessibility & contrast

On white

6.20
#783CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#783CD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783CD3
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783CD3#FFFFFF#000000##FFFFFF
##783CD31.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D7
Deuteranopia (green-blind)
#005FD0
Tritanopia (blue-blind)
#606384
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #783cd3;
/* rgb */ color: rgb(120, 60, 211);
/* oklch */ color: oklch(51.7% 0.217 296.1);
Tailwind
colors: {
  custom: {
    50: '#a677e2',
    500: '#783cd3',
    950: '#000000',
  },
}
SCSS
$custom: #783cd3;
$custom-light: #a677e2;
$custom-dark: #000000;
JSON
{
  "hex": "#783cd3",
  "rgb": {
    "r": 120,
    "g": 60,
    "b": 211
  },
  "hsl": {
    "h": 263.841,
    "s": 63.18,
    "l": 53.137
  },
  "oklch": {
    "l": 0.5175,
    "c": 0.2167,
    "h": 296.1
  },
  "luminance": 0.11928
}

Semantic roles & 50–950 ramp

primary
#783CD3
secondary
#BCD695
accent
#E642A5
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#100915
muted
#7F7B84

Preview Lab

Preview with #783CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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