#783DCD#783DCD

#783DCD is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.4% C 0.209 H 297.2°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#783DCD
RGBrgb(120, 61, 205)
HSLhsl(265, 59%, 52%)
HSVhsv(265, 70%, 80%)
CMYKcmyk(41.5%, 70.2%, 0%, 19.6%)
CIE-LABlab(40.80, 54.70, -65.07)
CIE-LCHlch(40.80, 85.01, 310.05°)
OKLaboklab(51.39% 0.0954 -0.186)
OKLCHoklch(51.39% 0.209 297.2)
XYZxyz(20.4310, 11.7380, 58.9350)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783DCD #92CD3D
analogous
#3D4ACD #783DCD #C03DCD
triadic
#783DCD #CD783D #3DCD78
tetradic
#783DCD #CD3D4A #92CD3D #3DCDC0
square
#783DCD #CD3D4A #92CD3D #3DCDC0
split-complementary
#783DCD #CDC03D #4ACD3D
monochromatic
#401D72 #5B2AA3 #783DCD #9A6EDA #BC9EE6

Accessibility & contrast

On white

6.27
#783DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#783DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783DCD
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783DCD#FFFFFF#000000##FFFFFF
##783DCD1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D1
Deuteranopia (green-blind)
#005ECA
Tritanopia (blue-blind)
#626181
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #783dcd;
/* rgb */ color: rgb(120, 61, 205);
/* oklch */ color: oklch(51.4% 0.209 297.2);
Tailwind
colors: {
  custom: {
    50: '#a677dd',
    500: '#783dcd',
    950: '#000000',
  },
}
SCSS
$custom: #783dcd;
$custom-light: #a677dd;
$custom-dark: #000000;
JSON
{
  "hex": "#783dcd",
  "rgb": {
    "r": 120,
    "g": 61,
    "b": 205
  },
  "hsl": {
    "h": 264.583,
    "s": 59.016,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51387,
    "c": 0.20899,
    "h": 297.2
  },
  "luminance": 0.11738
}

Semantic roles & 50–950 ramp

primary
#783DCD
secondary
#B9D293
accent
#E246A2
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #783DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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