#783497#783497

#783497 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.3% C 0.162 H 313.5°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#783497
RGBrgb(120, 52, 151)
HSLhsl(281, 49%, 40%)
HSVhsv(281, 66%, 59%)
CMYKcmyk(20.5%, 65.6%, 0%, 40.8%)
CIE-LABlab(35.37, 46.11, -41.84)
CIE-LCHlch(35.37, 62.26, 317.78°)
OKLaboklab(46.28% 0.1117 -0.1177)
OKLCHoklch(46.28% 0.162 313.5)
XYZxyz(14.5587, 8.6838, 30.1814)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783497 #539734
analogous
#473497 #783497 #973485
triadic
#783497 #977834 #349778
tetradic
#783497 #974734 #539734 #348597
square
#783497 #974734 #539734 #348597
split-complementary
#783497 #859734 #349747
monochromatic
#30153C #542469 #783497 #9B48C0 #B476D0

Accessibility & contrast

On white

7.67
#783497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#783497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783497
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783497#FFFFFF#000000##FFFFFF
##7834971.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04509A
Deuteranopia (green-blind)
#2F5595
Tritanopia (blue-blind)
#754761
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #783497;
/* rgb */ color: rgb(120, 52, 151);
/* oklch */ color: oklch(46.3% 0.162 313.5);
Tailwind
colors: {
  custom: {
    50: '#a270b6',
    500: '#783497',
    950: '#000000',
  },
}
SCSS
$custom: #783497;
$custom-light: #a270b6;
$custom-dark: #000000;
JSON
{
  "hex": "#783497",
  "rgb": {
    "r": 120,
    "g": 52,
    "b": 151
  },
  "hsl": {
    "h": 281.212,
    "s": 48.768,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46281,
    "c": 0.16224,
    "h": 313.5
  },
  "luminance": 0.08683
}

Semantic roles & 50–950 ramp

primary
#783497
secondary
#86B86F
accent
#D84F7A
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0811
muted
#7F7B80

Preview Lab

Preview with #783497

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

Preview Lab → · Contrast checker → · Palette generator →

#783497 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva