#782795#782795

#782795 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.7% C 0.177 H 315.5°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#782795
RGBrgb(120, 39, 149)
HSLhsl(284, 59%, 37%)
HSVhsv(284, 74%, 58%)
CMYKcmyk(19.5%, 73.8%, 0%, 41.6%)
CIE-LABlab(33.17, 51.47, -44.15)
CIE-LCHlch(33.17, 67.81, 319.38°)
OKLaboklab(44.66% 0.1265 -0.1244)
OKLCHoklch(44.66% 0.177 315.5)
XYZxyz(13.8952, 7.6146, 29.1658)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782795 #449527
analogous
#412795 #782795 #95277B
triadic
#782795 #957827 #279578
tetradic
#782795 #954127 #449527 #277B95
square
#782795 #954127 #449527 #277B95
split-complementary
#782795 #7B9527 #279541
monochromatic
#2A0E34 #511A64 #782795 #9F34C6 #B761D6

Accessibility & contrast

On white

8.32
#782795 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#782795 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782795
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782795#FFFFFF#000000##FFFFFF
##7827951.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004998
Deuteranopia (green-blind)
#245093
Tritanopia (blue-blind)
#763E5C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #782795;
/* rgb */ color: rgb(120, 39, 149);
/* oklch */ color: oklch(44.7% 0.177 315.5);
Tailwind
colors: {
  custom: {
    50: '#a369b5',
    500: '#782795',
    950: '#000000',
  },
}
SCSS
$custom: #782795;
$custom-light: #a369b5;
$custom-dark: #000000;
JSON
{
  "hex": "#782795",
  "rgb": {
    "r": 120,
    "g": 39,
    "b": 149
  },
  "hsl": {
    "h": 284.182,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44662,
    "c": 0.17741,
    "h": 315.5
  },
  "luminance": 0.07614
}

Semantic roles & 50–950 ramp

primary
#782795
secondary
#76BB5D
accent
#E2466F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #782795

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

Preview Lab → · Contrast checker → · Palette generator →

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