#783C96#783C96

#783C96 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.3% C 0.149 H 312.9°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#783C96
RGBrgb(120, 60, 150)
HSLhsl(280, 43%, 41%)
HSVhsv(280, 60%, 59%)
CMYKcmyk(20%, 60%, 0%, 41.2%)
CIE-LABlab(36.79, 41.83, -38.95)
CIE-LCHlch(36.79, 57.16, 317.04°)
OKLaboklab(47.3% 0.1014 -0.1093)
OKLCHoklch(47.3% 0.149 312.9)
XYZxyz(14.8657, 9.4272, 29.8848)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783C96 #5A963C
analogous
#4B3C96 #783C96 #963C87
triadic
#783C96 #96783C #3C9678
tetradic
#783C96 #964B3C #5A963C #3C8796
square
#783C96 #964B3C #5A963C #3C8796
split-complementary
#783C96 #87963C #3C964B
monochromatic
#32193F #552B6A #783C96 #9954BB #B380CC

Accessibility & contrast

On white

7.28
#783C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#783C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783C96
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783C96#FFFFFF#000000##FFFFFF
##783C961.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5399
Deuteranopia (green-blind)
#375894
Tritanopia (blue-blind)
#754C63
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #783c96;
/* rgb */ color: rgb(120, 60, 150);
/* oklch */ color: oklch(47.3% 0.149 312.9);
Tailwind
colors: {
  custom: {
    50: '#a275b5',
    500: '#783c96',
    950: '#000000',
  },
}
SCSS
$custom: #783c96;
$custom-light: #a275b5;
$custom-dark: #000000;
JSON
{
  "hex": "#783c96",
  "rgb": {
    "r": 120,
    "g": 60,
    "b": 150
  },
  "hsl": {
    "h": 280,
    "s": 42.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.47296,
    "c": 0.1491,
    "h": 312.9
  },
  "luminance": 0.09427
}

Semantic roles & 50–950 ramp

primary
#783C96
secondary
#8CB678
accent
#D3557F
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0811
muted
#7F7B80

Preview Lab

Preview with #783C96

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

Preview Lab → · Contrast checker → · Palette generator →

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