#783897#783897

#783897 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 46.8% C 0.156 H 313.0°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#783897
RGBrgb(120, 56, 151)
HSLhsl(280, 46%, 41%)
HSVhsv(280, 63%, 59%)
CMYKcmyk(20.5%, 62.9%, 0%, 40.8%)
CIE-LABlab(36.09, 44.12, -40.68)
CIE-LCHlch(36.09, 60.01, 317.33°)
OKLaboklab(46.81% 0.1067 -0.1143)
OKLCHoklch(46.81% 0.156 313)
XYZxyz(14.7448, 9.0562, 30.2434)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783897 #579738
analogous
#483897 #783897 #973886
triadic
#783897 #977838 #389778
tetradic
#783897 #974838 #579738 #388697
square
#783897 #974838 #579738 #388697
split-complementary
#783897 #869738 #389748
monochromatic
#31173E #55276A #783897 #994FBE #B37BCE

Accessibility & contrast

On white

7.47
#783897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#783897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783897
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783897#FFFFFF#000000##FFFFFF
##7838971.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14519A
Deuteranopia (green-blind)
#325695
Tritanopia (blue-blind)
#754A62
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #783897;
/* rgb */ color: rgb(120, 56, 151);
/* oklch */ color: oklch(46.8% 0.156 313.0);
Tailwind
colors: {
  custom: {
    50: '#a273b6',
    500: '#783897',
    950: '#000000',
  },
}
SCSS
$custom: #783897;
$custom-light: #a273b6;
$custom-dark: #000000;
JSON
{
  "hex": "#783897",
  "rgb": {
    "r": 120,
    "g": 56,
    "b": 151
  },
  "hsl": {
    "h": 280.421,
    "s": 45.894,
    "l": 40.588
  },
  "oklch": {
    "l": 0.46805,
    "c": 0.15635,
    "h": 313
  },
  "luminance": 0.09056
}

Semantic roles & 50–950 ramp

primary
#783897
secondary
#8AB773
accent
#D6527D
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0811
muted
#7F7B80

Preview Lab

Preview with #783897

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

Preview Lab → · Contrast checker → · Palette generator →

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