#782294#782294

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

Color values

HEX#782294
RGBrgb(120, 34, 148)
HSLhsl(285, 63%, 36%)
HSVhsv(285, 77%, 58%)
CMYKcmyk(18.9%, 77%, 0%, 42%)
CIE-LABlab(32.43, 53.18, -44.73)
CIE-LCHlch(32.43, 69.49, 319.93°)
OKLaboklab(44.12% 0.1315 -0.126)
OKLCHoklch(44.12% 0.182 316.2)
XYZxyz(13.6622, 7.2758, 28.6959)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782294 #3E9422
analogous
#3F2294 #782294 #942277
triadic
#782294 #947822 #229478
tetradic
#782294 #943F22 #3E9422 #227794
square
#782294 #943F22 #3E9422 #227794
split-complementary
#782294 #779422 #22943F
monochromatic
#270B30 #501762 #782294 #A02DC6 #B958D9

Accessibility & contrast

On white

8.55
#782294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #782294
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782294#FFFFFF#000000##FFFFFF
##7822941.008.552.458.55
#FFFFFF8.551.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004797
Deuteranopia (green-blind)
#214F92
Tritanopia (blue-blind)
#763B5A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #782294;
/* rgb */ color: rgb(120, 34, 148);
/* oklch */ color: oklch(44.1% 0.182 316.2);
Tailwind
colors: {
  custom: {
    50: '#a367b4',
    500: '#782294',
    950: '#000000',
  },
}
SCSS
$custom: #782294;
$custom-light: #a367b4;
$custom-dark: #000000;
JSON
{
  "hex": "#782294",
  "rgb": {
    "r": 120,
    "g": 34,
    "b": 148
  },
  "hsl": {
    "h": 285.263,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44115,
    "c": 0.18216,
    "h": 316.2
  },
  "luminance": 0.07275
}

Semantic roles & 50–950 ramp

primary
#782294
secondary
#6FBD55
accent
#E6426A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #782294

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

Preview Lab → · Contrast checker → · Palette generator →

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