#783CA8#783CA8

#783CA8 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.5% C 0.169 H 306.7°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#783CA8
RGBrgb(120, 60, 168)
HSLhsl(273, 47%, 45%)
HSVhsv(273, 64%, 66%)
CMYKcmyk(28.6%, 64.3%, 0%, 34.1%)
CIE-LABlab(37.94, 46.04, -47.96)
CIE-LCHlch(37.94, 66.48, 313.83°)
OKLaboklab(48.49% 0.1011 -0.1357)
OKLCHoklch(48.49% 0.169 306.7)
XYZxyz(16.4280, 10.0521, 38.1130)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783CA8 #6CA83C
analogous
#423CA8 #783CA8 #A83CA2
triadic
#783CA8 #A8783C #3CA878
tetradic
#783CA8 #A8423C #6CA83C #3CA2A8
square
#783CA8 #A8423C #6CA83C #3CA2A8
split-complementary
#783CA8 #A2A83C #3CA842
monochromatic
#381C4E #582C7B #783CA8 #965CC5 #B389D5

Accessibility & contrast

On white

6.98
#783CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#783CA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783CA8
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783CA8#FFFFFF#000000##FFFFFF
##783CA81.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AB
Deuteranopia (green-blind)
#255AA6
Tritanopia (blue-blind)
#70526C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #783ca8;
/* rgb */ color: rgb(120, 60, 168);
/* oklch */ color: oklch(48.5% 0.169 306.7);
Tailwind
colors: {
  custom: {
    50: '#a375c2',
    500: '#783ca8',
    950: '#000000',
  },
}
SCSS
$custom: #783ca8;
$custom-light: #a375c2;
$custom-dark: #000000;
JSON
{
  "hex": "#783ca8",
  "rgb": {
    "r": 120,
    "g": 60,
    "b": 168
  },
  "hsl": {
    "h": 273.333,
    "s": 47.368,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48491,
    "c": 0.16919,
    "h": 306.7
  },
  "luminance": 0.10052
}

Semantic roles & 50–950 ramp

primary
#783CA8
secondary
#9CBF80
accent
#D7518C
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #783CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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