#782285#782285

#782285 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.1% C 0.169 H 322.1°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#782285
RGBrgb(120, 34, 133)
HSLhsl(292, 59%, 33%)
HSVhsv(292, 74%, 52%)
CMYKcmyk(9.8%, 74.4%, 0%, 47.8%)
CIE-LABlab(31.42, 50.22, -37.08)
CIE-LCHlch(31.42, 62.43, 323.56°)
OKLaboklab(43.08% 0.1331 -0.1036)
OKLCHoklch(43.08% 0.169 322.1)
XYZxyz(12.5509, 6.8313, 22.8432)
Luminance0.0683 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782285 #2F8522
analogous
#462285 #782285 #852260
triadic
#782285 #857822 #228578
tetradic
#782285 #854622 #2F8522 #226085
square
#782285 #854622 #2F8522 #226085
split-complementary
#782285 #608522 #228546
monochromatic
#200924 #4C1654 #782285 #A42EB6 #C14FD2

Accessibility & contrast

On white

8.87
#782285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#782285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782285
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782285#FFFFFF#000000##FFFFFF
##7822851.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004488
Deuteranopia (green-blind)
#304D83
Tritanopia (blue-blind)
#793451
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #782285;
/* rgb */ color: rgb(120, 34, 133);
/* oklch */ color: oklch(43.1% 0.169 322.1);
Tailwind
colors: {
  custom: {
    50: '#a266a9',
    500: '#782285',
    950: '#000000',
  },
}
SCSS
$custom: #782285;
$custom-light: #a266a9;
$custom-dark: #000000;
JSON
{
  "hex": "#782285",
  "rgb": {
    "r": 120,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 292.121,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43078,
    "c": 0.16865,
    "h": 322.1
  },
  "luminance": 0.06831
}

Semantic roles & 50–950 ramp

primary
#782285
secondary
#5BB64D
accent
#E2455A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #782285

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

Preview Lab → · Contrast checker → · Palette generator →

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