#783CCC#783CCC

#783CCC is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.2% C 0.209 H 297.5°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#783CCC
RGBrgb(120, 60, 204)
HSLhsl(265, 59%, 52%)
HSVhsv(265, 71%, 80%)
CMYKcmyk(41.2%, 70.6%, 0%, 20%)
CIE-LABlab(40.55, 54.93, -64.89)
CIE-LCHlch(40.55, 85.02, 310.25°)
OKLaboklab(51.19% 0.0965 -0.1854)
OKLCHoklch(51.19% 0.209 297.5)
XYZxyz(20.2578, 11.5841, 58.2837)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783CCC #90CC3C
analogous
#3C48CC #783CCC #C03CCC
triadic
#783CCC #CC783C #3CCC78
tetradic
#783CCC #CC3C48 #90CC3C #3CCCC0
square
#783CCC #CC3C48 #90CC3C #3CCCC0
split-complementary
#783CCC #CCC03C #48CC3C
monochromatic
#401D70 #5C2AA1 #783CCC #9A6DD9 #BB9DE5

Accessibility & contrast

On white

6.33
#783CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#783CCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783CCC
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783CCC#FFFFFF#000000##FFFFFF
##783CCC1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D0
Deuteranopia (green-blind)
#005EC9
Tritanopia (blue-blind)
#636080
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #783ccc;
/* rgb */ color: rgb(120, 60, 204);
/* oklch */ color: oklch(51.2% 0.209 297.5);
Tailwind
colors: {
  custom: {
    50: '#a677dd',
    500: '#783ccc',
    950: '#000000',
  },
}
SCSS
$custom: #783ccc;
$custom-light: #a677dd;
$custom-dark: #000000;
JSON
{
  "hex": "#783ccc",
  "rgb": {
    "r": 120,
    "g": 60,
    "b": 204
  },
  "hsl": {
    "h": 265,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51186,
    "c": 0.20907,
    "h": 297.5
  },
  "luminance": 0.11584
}

Semantic roles & 50–950 ramp

primary
#783CCC
secondary
#B7D192
accent
#E246A1
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #783CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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