#783C7B#783C7B

#783C7B is a mid, moderate purple. Relative luminance 0.087; OKLCH L 45.7% C 0.120 H 325.5°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#783C7B
RGBrgb(120, 60, 123)
HSLhsl(297, 34%, 36%)
HSVhsv(297, 51%, 48%)
CMYKcmyk(2.4%, 51.2%, 0%, 51.8%)
CIE-LABlab(35.31, 36.02, -24.70)
CIE-LCHlch(35.31, 43.67, 325.57°)
OKLaboklab(45.73% 0.0989 -0.0679)
OKLCHoklch(45.73% 0.12 325.5)
XYZxyz(12.9365, 8.6555, 19.7243)
Luminance0.0866 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783C7B #3F7B3C
analogous
#583C7B #783C7B #7B3C5E
triadic
#783C7B #7B783C #3C7B78
tetradic
#783C7B #7B583C #3F7B3C #3C5E7B
square
#783C7B #7B583C #3F7B3C #3C5E7B
split-complementary
#783C7B #5E7B3C #3C7B58
monochromatic
#281429 #502852 #783C7B #A050A4 #B975BC

Accessibility & contrast

On white

7.69
#783C7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#783C7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783C7B
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783C7B#FFFFFF#000000##FFFFFF
##783C7B1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354E7D
Deuteranopia (green-blind)
#475679
Tritanopia (blue-blind)
#7B4356
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #783c7b;
/* rgb */ color: rgb(120, 60, 123);
/* oklch */ color: oklch(45.7% 0.120 325.5);
Tailwind
colors: {
  custom: {
    50: '#a174a1',
    500: '#783c7b',
    950: '#000000',
  },
}
SCSS
$custom: #783c7b;
$custom-light: #a174a1;
$custom-dark: #000000;
JSON
{
  "hex": "#783c7b",
  "rgb": {
    "r": 120,
    "g": 60,
    "b": 123
  },
  "hsl": {
    "h": 297.143,
    "s": 34.426,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45726,
    "c": 0.11999,
    "h": 325.5
  },
  "luminance": 0.08655
}

Semantic roles & 50–950 ramp

primary
#783C7B
secondary
#70A66D
accent
#CB5D62
background
#FAF7F9
surface
#F3EDF2
border
#CDC8CC
text
#0F080F
muted
#7F7B7E

Preview Lab

Preview with #783C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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