#782899#782899

#782899 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.0% C 0.180 H 314.0°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#782899
RGBrgb(120, 40, 153)
HSLhsl(282, 59%, 38%)
HSVhsv(282, 74%, 60%)
CMYKcmyk(21.6%, 73.9%, 0%, 40%)
CIE-LABlab(33.59, 51.91, -45.92)
CIE-LCHlch(33.59, 69.30, 318.50°)
OKLaboklab(45.05% 0.125 -0.1296)
OKLCHoklch(45.05% 0.18 314)
XYZxyz(14.2533, 7.8110, 30.8877)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782899 #499928
analogous
#402899 #782899 #992881
triadic
#782899 #997828 #289978
tetradic
#782899 #994028 #499928 #288199
square
#782899 #994028 #499928 #288199
split-complementary
#782899 #819928 #289940
monochromatic
#2C0F38 #521B68 #782899 #9E35CA #B565D7

Accessibility & contrast

On white

8.20
#782899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#782899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782899
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782899#FFFFFF#000000##FFFFFF
##7828991.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9C
Deuteranopia (green-blind)
#205197
Tritanopia (blue-blind)
#75405E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #782899;
/* rgb */ color: rgb(120, 40, 153);
/* oklch */ color: oklch(45.0% 0.180 314.0);
Tailwind
colors: {
  custom: {
    50: '#a36ab8',
    500: '#782899',
    950: '#000000',
  },
}
SCSS
$custom: #782899;
$custom-light: #a36ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#782899",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 153
  },
  "hsl": {
    "h": 282.478,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45048,
    "c": 0.18003,
    "h": 314
  },
  "luminance": 0.07811
}

Semantic roles & 50–950 ramp

primary
#782899
secondary
#7BBD60
accent
#E24674
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #782899

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

Preview Lab → · Contrast checker → · Palette generator →

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