#782195#782195

#782195 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.1% C 0.184 H 315.9°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#782195
RGBrgb(120, 33, 149)
HSLhsl(285, 64%, 36%)
HSVhsv(285, 78%, 58%)
CMYKcmyk(19.5%, 77.9%, 0%, 41.6%)
CIE-LABlab(32.37, 53.74, -45.43)
CIE-LCHlch(32.37, 70.38, 319.79°)
OKLaboklab(44.1% 0.1323 -0.1281)
OKLCHoklch(44.1% 0.184 315.9)
XYZxyz(13.7135, 7.2513, 29.1052)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782195 #3E9521
analogous
#3E2195 #782195 #952178
triadic
#782195 #957821 #219578
tetradic
#782195 #953E21 #3E9521 #217895
square
#782195 #953E21 #3E9521 #217895
split-complementary
#782195 #789521 #21953E
monochromatic
#270B31 #501663 #782195 #A02CC7 #B957DA

Accessibility & contrast

On white

8.57
#782195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#782195 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782195
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782195#FFFFFF#000000##FFFFFF
##7821951.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004798
Deuteranopia (green-blind)
#1F4E93
Tritanopia (blue-blind)
#763B5A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #782195;
/* rgb */ color: rgb(120, 33, 149);
/* oklch */ color: oklch(44.1% 0.184 315.9);
Tailwind
colors: {
  custom: {
    50: '#a367b5',
    500: '#782195',
    950: '#000000',
  },
}
SCSS
$custom: #782195;
$custom-light: #a367b5;
$custom-dark: #000000;
JSON
{
  "hex": "#782195",
  "rgb": {
    "r": 120,
    "g": 33,
    "b": 149
  },
  "hsl": {
    "h": 285,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44099,
    "c": 0.18413,
    "h": 315.9
  },
  "luminance": 0.07251
}

Semantic roles & 50–950 ramp

primary
#782195
secondary
#6FBE54
accent
#E7416A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #782195

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

Preview Lab → · Contrast checker → · Palette generator →

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