#782383#782383

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

Color values

HEX#782383
RGBrgb(120, 35, 131)
HSLhsl(293, 58%, 33%)
HSVhsv(293, 73%, 51%)
CMYKcmyk(8.4%, 73.3%, 0%, 48.6%)
CIE-LABlab(31.43, 49.46, -35.82)
CIE-LCHlch(31.43, 61.07, 324.08°)
OKLaboklab(43.04% 0.1321 -0.1)
OKLCHoklch(43.04% 0.166 322.9)
XYZxyz(12.4431, 6.8345, 22.1321)
Luminance0.0683 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782383 #2E8323
analogous
#482383 #782383 #83235E
triadic
#782383 #837823 #238378
tetradic
#782383 #834823 #2E8323 #235E83
square
#782383 #834823 #2E8323 #235E83
split-complementary
#782383 #5E8323 #238348
monochromatic
#200922 #4C1653 #782383 #A430B3 #C250D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##782383#FFFFFF#000000##FFFFFF
##7823831.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)
#004486
Deuteranopia (green-blind)
#324D81
Tritanopia (blue-blind)
#7A3451
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #782383;
/* rgb */ color: rgb(120, 35, 131);
/* oklch */ color: oklch(43.0% 0.166 322.9);
Tailwind
colors: {
  custom: {
    50: '#a267a7',
    500: '#782383',
    950: '#000000',
  },
}
SCSS
$custom: #782383;
$custom-light: #a267a7;
$custom-dark: #000000;
JSON
{
  "hex": "#782383",
  "rgb": {
    "r": 120,
    "g": 35,
    "b": 131
  },
  "hsl": {
    "h": 293.125,
    "s": 57.831,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43043,
    "c": 0.16567,
    "h": 322.9
  },
  "luminance": 0.06834
}

Semantic roles & 50–950 ramp

primary
#782383
secondary
#5AB44E
accent
#E14758
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #782383

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

Preview Lab → · Contrast checker → · Palette generator →

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