#782895#782895

#782895 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.8% C 0.176 H 315.4°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#782895
RGBrgb(120, 40, 149)
HSLhsl(284, 58%, 37%)
HSVhsv(284, 73%, 58%)
CMYKcmyk(19.5%, 73.2%, 0%, 41.6%)
CIE-LABlab(33.31, 51.07, -43.92)
CIE-LCHlch(33.31, 67.36, 319.30°)
OKLaboklab(44.76% 0.1255 -0.1237)
OKLCHoklch(44.76% 0.176 315.4)
XYZxyz(13.9285, 7.6811, 29.1768)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782895 #459528
analogous
#422895 #782895 #95287C
triadic
#782895 #957828 #289578
tetradic
#782895 #954228 #459528 #287C95
square
#782895 #954228 #459528 #287C95
split-complementary
#782895 #7C9528 #289542
monochromatic
#2A0E35 #511B65 #782895 #9F35C5 #B662D5

Accessibility & contrast

On white

8.28
#782895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#782895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782895
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782895#FFFFFF#000000##FFFFFF
##7828951.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A98
Deuteranopia (green-blind)
#255093
Tritanopia (blue-blind)
#763F5C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #782895;
/* rgb */ color: rgb(120, 40, 149);
/* oklch */ color: oklch(44.8% 0.176 315.4);
Tailwind
colors: {
  custom: {
    50: '#a36ab5',
    500: '#782895',
    950: '#000000',
  },
}
SCSS
$custom: #782895;
$custom-light: #a36ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#782895",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 149
  },
  "hsl": {
    "h": 284.037,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44764,
    "c": 0.1762,
    "h": 315.4
  },
  "luminance": 0.07681
}

Semantic roles & 50–950 ramp

primary
#782895
secondary
#77BB5E
accent
#E14770
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #782895

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

Preview Lab → · Contrast checker → · Palette generator →

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