#783BCC#783BCC

#783BCC is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.1% C 0.210 H 297.6°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#783BCC
RGBrgb(120, 59, 204)
HSLhsl(265, 59%, 52%)
HSVhsv(265, 71%, 80%)
CMYKcmyk(41.2%, 71.1%, 0%, 20%)
CIE-LABlab(40.38, 55.40, -65.17)
CIE-LCHlch(40.38, 85.54, 310.37°)
OKLaboklab(51.07% 0.0975 -0.1862)
OKLCHoklch(51.07% 0.21 297.6)
XYZxyz(20.2060, 11.4803, 58.2664)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783BCC #8FCC3B
analogous
#3B47CC #783BCC #C03BCC
triadic
#783BCC #CC783B #3BCC78
tetradic
#783BCC #CC3B47 #8FCC3B #3BCCC0
square
#783BCC #CC3B47 #8FCC3B #3BCCC0
split-complementary
#783BCC #CCC03B #47CC3B
monochromatic
#401D70 #5C2AA0 #783BCC #996CD9 #BB9CE5

Accessibility & contrast

On white

6.37
#783BCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#783BCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783BCC
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783BCC#FFFFFF#000000##FFFFFF
##783BCC1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D0
Deuteranopia (green-blind)
#005DC9
Tritanopia (blue-blind)
#635F80
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #783bcc;
/* rgb */ color: rgb(120, 59, 204);
/* oklch */ color: oklch(51.1% 0.210 297.6);
Tailwind
colors: {
  custom: {
    50: '#a676dd',
    500: '#783bcc',
    950: '#000000',
  },
}
SCSS
$custom: #783bcc;
$custom-light: #a676dd;
$custom-dark: #000000;
JSON
{
  "hex": "#783bcc",
  "rgb": {
    "r": 120,
    "g": 59,
    "b": 204
  },
  "hsl": {
    "h": 265.241,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51065,
    "c": 0.21022,
    "h": 297.6
  },
  "luminance": 0.11481
}

Semantic roles & 50–950 ramp

primary
#783BCC
secondary
#B6D192
accent
#E246A0
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #783BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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