#783C8E#783C8E

#783C8E is a mid, vivid purple. Relative luminance 0.092; OKLCH L 46.8% C 0.140 H 316.1°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#783C8E
RGBrgb(120, 60, 142)
HSLhsl(284, 41%, 40%)
HSVhsv(284, 58%, 56%)
CMYKcmyk(15.5%, 57.7%, 0%, 44.3%)
CIE-LABlab(36.33, 40.04, -34.82)
CIE-LCHlch(36.33, 53.06, 318.99°)
OKLaboklab(46.8% 0.1011 -0.0972)
OKLCHoklch(46.8% 0.14 316.1)
XYZxyz(14.2433, 9.1783, 26.6072)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783C8E #528E3C
analogous
#4F3C8E #783C8E #8E3C7B
triadic
#783C8E #8E783C #3C8E78
tetradic
#783C8E #8E4F3C #528E3C #3C7B8E
square
#783C8E #8E4F3C #528E3C #3C7B8E
split-complementary
#783C8E #7B8E3C #3C8E4F
monochromatic
#2F1838 #542A63 #783C8E #9B52B6 #B47DC8

Accessibility & contrast

On white

7.41
#783C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#783C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783C8E
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783C8E#FFFFFF#000000##FFFFFF
##783C8E1.007.412.847.41
#FFFFFF7.411.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275291
Deuteranopia (green-blind)
#3D578C
Tritanopia (blue-blind)
#77495F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #783c8e;
/* rgb */ color: rgb(120, 60, 142);
/* oklch */ color: oklch(46.8% 0.140 316.1);
Tailwind
colors: {
  custom: {
    50: '#a175af',
    500: '#783c8e',
    950: '#000000',
  },
}
SCSS
$custom: #783c8e;
$custom-light: #a175af;
$custom-dark: #000000;
JSON
{
  "hex": "#783c8e",
  "rgb": {
    "r": 120,
    "g": 60,
    "b": 142
  },
  "hsl": {
    "h": 283.902,
    "s": 40.594,
    "l": 39.608
  },
  "oklch": {
    "l": 0.46802,
    "c": 0.14026,
    "h": 316.1
  },
  "luminance": 0.09178
}

Semantic roles & 50–950 ramp

primary
#783C8E
secondary
#85B274
accent
#D05778
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #783C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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