#782298#782298

#782298 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.4% C 0.186 H 314.8°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#782298
RGBrgb(120, 34, 152)
HSLhsl(284, 63%, 36%)
HSVhsv(284, 78%, 60%)
CMYKcmyk(21.1%, 77.6%, 0%, 40.4%)
CIE-LABlab(32.71, 54.00, -46.72)
CIE-LCHlch(32.71, 71.41, 319.13°)
OKLaboklab(44.41% 0.1309 -0.1319)
OKLCHoklch(44.41% 0.186 314.8)
XYZxyz(13.9843, 7.4046, 30.3923)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782298 #429822
analogous
#3D2298 #782298 #98227D
triadic
#782298 #987822 #229878
tetradic
#782298 #983D22 #429822 #227D98
square
#782298 #983D22 #429822 #227D98
split-complementary
#782298 #7D9822 #22983D
monochromatic
#290C34 #511766 #782298 #9F2DCA #B75ADA

Accessibility & contrast

On white

8.47
#782298 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#782298 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782298
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782298#FFFFFF#000000##FFFFFF
##7822981.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489B
Deuteranopia (green-blind)
#1B4F95
Tritanopia (blue-blind)
#753D5C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #782298;
/* rgb */ color: rgb(120, 34, 152);
/* oklch */ color: oklch(44.4% 0.186 314.8);
Tailwind
colors: {
  custom: {
    50: '#a367b7',
    500: '#782298',
    950: '#000000',
  },
}
SCSS
$custom: #782298;
$custom-light: #a367b7;
$custom-dark: #000000;
JSON
{
  "hex": "#782298",
  "rgb": {
    "r": 120,
    "g": 34,
    "b": 152
  },
  "hsl": {
    "h": 283.729,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44406,
    "c": 0.1858,
    "h": 314.8
  },
  "luminance": 0.07404
}

Semantic roles & 50–950 ramp

primary
#782298
secondary
#73BE57
accent
#E6416E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #782298

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

Preview Lab → · Contrast checker → · Palette generator →

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