#783CC8#783CC8

#783CC8 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 50.9% C 0.205 H 298.4°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#783CC8
RGBrgb(120, 60, 200)
HSLhsl(266, 56%, 51%)
HSVhsv(266, 70%, 78%)
CMYKcmyk(40%, 70%, 0%, 21.6%)
CIE-LABlab(40.24, 53.92, -63.08)
CIE-LCHlch(40.24, 82.98, 310.52°)
OKLaboklab(50.87% 0.0972 -0.1801)
OKLCHoklch(50.87% 0.205 298.4)
XYZxyz(19.7843, 11.3946, 55.7894)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783CC8 #8CC83C
analogous
#3C46C8 #783CC8 #BE3CC8
triadic
#783CC8 #C8783C #3CC878
tetradic
#783CC8 #C83C46 #8CC83C #3CC8BE
square
#783CC8 #C83C46 #8CC83C #3CC8BE
split-complementary
#783CC8 #C8BE3C #46C83C
monochromatic
#3F1E6B #5B2C9B #783CC8 #996CD5 #BA9BE3

Accessibility & contrast

On white

6.40
#783CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#783CC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783CC8
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783CC8#FFFFFF#000000##FFFFFF
##783CC81.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCC
Deuteranopia (green-blind)
#005DC5
Tritanopia (blue-blind)
#655E7E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #783cc8;
/* rgb */ color: rgb(120, 60, 200);
/* oklch */ color: oklch(50.9% 0.205 298.4);
Tailwind
colors: {
  custom: {
    50: '#a576da',
    500: '#783cc8',
    950: '#000000',
  },
}
SCSS
$custom: #783cc8;
$custom-light: #a576da;
$custom-dark: #000000;
JSON
{
  "hex": "#783cc8",
  "rgb": {
    "r": 120,
    "g": 60,
    "b": 200
  },
  "hsl": {
    "h": 265.714,
    "s": 56,
    "l": 50.98
  },
  "oklch": {
    "l": 0.50868,
    "c": 0.20468,
    "h": 298.4
  },
  "luminance": 0.11395
}

Semantic roles & 50–950 ramp

primary
#783CC8
secondary
#B4CF91
accent
#DF499F
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #783CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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