#783ACD#783ACD

#783ACD is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.0% C 0.212 H 297.5°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#783ACD
RGBrgb(120, 58, 205)
HSLhsl(265, 60%, 52%)
HSVhsv(265, 72%, 80%)
CMYKcmyk(41.5%, 71.7%, 0%, 19.6%)
CIE-LABlab(40.29, 56.13, -65.89)
CIE-LCHlch(40.29, 86.56, 310.42°)
OKLaboklab(51.03% 0.0982 -0.1884)
OKLCHoklch(51.03% 0.212 297.5)
XYZxyz(20.2754, 11.4266, 58.8831)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783ACD #8FCD3A
analogous
#3A46CD #783ACD #C13ACD
triadic
#783ACD #CD783A #3ACD78
tetradic
#783ACD #CD3A46 #8FCD3A #3ACDC1
square
#783ACD #CD3A46 #8FCD3A #3ACDC1
split-complementary
#783ACD #CDC13A #46CD3A
monochromatic
#401C70 #5C29A1 #783ACD #996BD9 #BB9CE6

Accessibility & contrast

On white

6.39
#783ACD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#783ACD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783ACD
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783ACD#FFFFFF#000000##FFFFFF
##783ACD1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD1
Deuteranopia (green-blind)
#005DCA
Tritanopia (blue-blind)
#625F80
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #783acd;
/* rgb */ color: rgb(120, 58, 205);
/* oklch */ color: oklch(51.0% 0.212 297.5);
Tailwind
colors: {
  custom: {
    50: '#a675dd',
    500: '#783acd',
    950: '#000000',
  },
}
SCSS
$custom: #783acd;
$custom-light: #a675dd;
$custom-dark: #000000;
JSON
{
  "hex": "#783acd",
  "rgb": {
    "r": 120,
    "g": 58,
    "b": 205
  },
  "hsl": {
    "h": 265.306,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51027,
    "c": 0.21244,
    "h": 297.5
  },
  "luminance": 0.11427
}

Semantic roles & 50–950 ramp

primary
#783ACD
secondary
#B6D291
accent
#E345A0
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #783ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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