#783E8D#783E8D

#783E8D is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.0% C 0.136 H 316.3°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#783E8D
RGBrgb(120, 62, 141)
HSLhsl(284, 39%, 40%)
HSVhsv(284, 56%, 55%)
CMYKcmyk(14.9%, 56%, 0%, 44.7%)
CIE-LABlab(36.67, 38.74, -33.66)
CIE-LCHlch(36.67, 51.32, 319.02°)
OKLaboklab(47.04% 0.0982 -0.0939)
OKLCHoklch(47.04% 0.136 316.3)
XYZxyz(14.2754, 9.3619, 26.2492)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783E8D #538D3E
analogous
#513E8D #783E8D #8D3E7A
triadic
#783E8D #8D783E #3E8D78
tetradic
#783E8D #8D513E #538D3E #3E7A8D
square
#783E8D #8D513E #538D3E #3E7A8D
split-complementary
#783E8D #7A8D3E #3E8D51
monochromatic
#301938 #542B62 #783E8D #9B54B4 #B47FC7

Accessibility & contrast

On white

7.31
#783E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#783E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783E8D
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783E8D#FFFFFF#000000##FFFFFF
##783E8D1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5390
Deuteranopia (green-blind)
#3F588B
Tritanopia (blue-blind)
#774B5F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #783e8d;
/* rgb */ color: rgb(120, 62, 141);
/* oklch */ color: oklch(47.0% 0.136 316.3);
Tailwind
colors: {
  custom: {
    50: '#a176af',
    500: '#783e8d',
    950: '#000000',
  },
}
SCSS
$custom: #783e8d;
$custom-light: #a176af;
$custom-dark: #000000;
JSON
{
  "hex": "#783e8d",
  "rgb": {
    "r": 120,
    "g": 62,
    "b": 141
  },
  "hsl": {
    "h": 284.051,
    "s": 38.916,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47038,
    "c": 0.13585,
    "h": 316.3
  },
  "luminance": 0.09361
}

Semantic roles & 50–950 ramp

primary
#783E8D
secondary
#86B176
accent
#CF5978
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0910
muted
#7F7B7F

Preview Lab

Preview with #783E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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