#783CCF#783CCF

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

Color values

HEX#783CCF
RGBrgb(120, 60, 207)
HSLhsl(264, 60%, 52%)
HSVhsv(264, 71%, 81%)
CMYKcmyk(42%, 71%, 0%, 18.8%)
CIE-LABlab(40.78, 55.69, -66.25)
CIE-LCHlch(40.78, 86.54, 310.05°)
OKLaboklab(51.43% 0.096 -0.1894)
OKLCHoklch(51.43% 0.212 296.9)
XYZxyz(20.6211, 11.7294, 60.1969)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783CCF #93CF3C
analogous
#3C49CF #783CCF #C23CCF
triadic
#783CCF #CF783C #3CCF78
tetradic
#783CCF #CF3C49 #93CF3C #3CCFC2
square
#783CCF #CF3C49 #93CF3C #3CCFC2
split-complementary
#783CCF #CFC23C #49CF3C
monochromatic
#401D74 #5B29A5 #783CCF #9A6DDB #BC9EE7

Accessibility & contrast

On white

6.28
#783CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #783CCF
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783CCF#FFFFFF#000000##FFFFFF
##783CCF1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D3
Deuteranopia (green-blind)
#005ECC
Tritanopia (blue-blind)
#616182
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #783ccf;
/* rgb */ color: rgb(120, 60, 207);
/* oklch */ color: oklch(51.4% 0.212 296.9);
Tailwind
colors: {
  custom: {
    50: '#a677df',
    500: '#783ccf',
    950: '#000000',
  },
}
SCSS
$custom: #783ccf;
$custom-light: #a677df;
$custom-dark: #000000;
JSON
{
  "hex": "#783ccf",
  "rgb": {
    "r": 120,
    "g": 60,
    "b": 207
  },
  "hsl": {
    "h": 264.49,
    "s": 60.494,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51426,
    "c": 0.21234,
    "h": 296.9
  },
  "luminance": 0.1173
}

Semantic roles & 50–950 ramp

primary
#783CCF
secondary
#B9D393
accent
#E444A3
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #783CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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