#783A97#783A97

#783A97 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.1% C 0.153 H 312.8°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#783A97
RGBrgb(120, 58, 151)
HSLhsl(280, 44%, 41%)
HSVhsv(280, 62%, 59%)
CMYKcmyk(20.5%, 61.6%, 0%, 40.8%)
CIE-LABlab(36.47, 43.10, -40.08)
CIE-LCHlch(36.47, 58.86, 317.08°)
OKLaboklab(47.08% 0.1041 -0.1125)
OKLCHoklch(47.08% 0.153 312.8)
XYZxyz(14.8437, 9.2539, 30.2764)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783A97 #59973A
analogous
#493A97 #783A97 #973A87
triadic
#783A97 #97783A #3A9778
tetradic
#783A97 #97493A #59973A #3A8797
square
#783A97 #97493A #59973A #3A8797
split-complementary
#783A97 #87973A #3A9749
monochromatic
#32183F #55296B #783A97 #9952BC #B37ECD

Accessibility & contrast

On white

7.37
#783A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#783A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783A97
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783A97#FFFFFF#000000##FFFFFF
##783A971.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19539A
Deuteranopia (green-blind)
#345795
Tritanopia (blue-blind)
#754B63
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #783a97;
/* rgb */ color: rgb(120, 58, 151);
/* oklch */ color: oklch(47.1% 0.153 312.8);
Tailwind
colors: {
  custom: {
    50: '#a274b6',
    500: '#783a97',
    950: '#000000',
  },
}
SCSS
$custom: #783a97;
$custom-light: #a274b6;
$custom-dark: #000000;
JSON
{
  "hex": "#783a97",
  "rgb": {
    "r": 120,
    "g": 58,
    "b": 151
  },
  "hsl": {
    "h": 280,
    "s": 44.498,
    "l": 40.98
  },
  "oklch": {
    "l": 0.47079,
    "c": 0.1533,
    "h": 312.8
  },
  "luminance": 0.09254
}

Semantic roles & 50–950 ramp

primary
#783A97
secondary
#8CB776
accent
#D4547E
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0811
muted
#7F7B80

Preview Lab

Preview with #783A97

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

Preview Lab → · Contrast checker → · Palette generator →

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