#782283#782283

#782283 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.9% C 0.167 H 322.9°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#782283
RGBrgb(120, 34, 131)
HSLhsl(293, 59%, 32%)
HSVhsv(293, 74%, 51%)
CMYKcmyk(8.4%, 74%, 0%, 48.6%)
CIE-LABlab(31.29, 49.84, -36.04)
CIE-LCHlch(31.29, 61.50, 324.13°)
OKLaboklab(42.95% 0.1332 -0.1006)
OKLCHoklch(42.95% 0.167 322.9)
XYZxyz(12.4141, 6.7765, 22.1225)
Luminance0.0678 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782283 #2D8322
analogous
#482283 #782283 #83225D
triadic
#782283 #837822 #228378
tetradic
#782283 #834822 #2D8322 #225D83
square
#782283 #834822 #2D8322 #225D83
split-complementary
#782283 #5D8322 #228348
monochromatic
#1F0922 #4B1552 #782283 #A52FB4 #C24ED1

Accessibility & contrast

On white

8.92
#782283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#782283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782283
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782283#FFFFFF#000000##FFFFFF
##7822831.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004386
Deuteranopia (green-blind)
#314D81
Tritanopia (blue-blind)
#7A3350
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #782283;
/* rgb */ color: rgb(120, 34, 131);
/* oklch */ color: oklch(42.9% 0.167 322.9);
Tailwind
colors: {
  custom: {
    50: '#a266a7',
    500: '#782283',
    950: '#000000',
  },
}
SCSS
$custom: #782283;
$custom-light: #a266a7;
$custom-dark: #000000;
JSON
{
  "hex": "#782283",
  "rgb": {
    "r": 120,
    "g": 34,
    "b": 131
  },
  "hsl": {
    "h": 293.196,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42947,
    "c": 0.16688,
    "h": 322.9
  },
  "luminance": 0.06776
}

Semantic roles & 50–950 ramp

primary
#782283
secondary
#58B44C
accent
#E24658
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #782283

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

Preview Lab → · Contrast checker → · Palette generator →

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