#782183#782183

#782183 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.9% C 0.168 H 323.0°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#782183
RGBrgb(120, 33, 131)
HSLhsl(293, 60%, 32%)
HSVhsv(293, 75%, 51%)
CMYKcmyk(8.4%, 74.8%, 0%, 48.6%)
CIE-LABlab(31.16, 50.21, -36.25)
CIE-LCHlch(31.16, 61.93, 324.17°)
OKLaboklab(42.85% 0.1342 -0.1012)
OKLCHoklch(42.85% 0.168 323)
XYZxyz(12.3859, 6.7202, 22.1131)
Luminance0.0672 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782183 #2C8321
analogous
#472183 #782183 #83215D
triadic
#782183 #837821 #218378
tetradic
#782183 #834721 #2C8321 #215D83
square
#782183 #834721 #2C8321 #215D83
split-complementary
#782183 #5D8321 #218347
monochromatic
#1E0821 #4B1552 #782183 #A52DB4 #C34CD2

Accessibility & contrast

On white

8.96
#782183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#782183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782183
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782183#FFFFFF#000000##FFFFFF
##7821831.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #782183;
/* rgb */ color: rgb(120, 33, 131);
/* oklch */ color: oklch(42.9% 0.168 323.0);
Tailwind
colors: {
  custom: {
    50: '#a266a7',
    500: '#782183',
    950: '#000000',
  },
}
SCSS
$custom: #782183;
$custom-light: #a266a7;
$custom-dark: #000000;
JSON
{
  "hex": "#782183",
  "rgb": {
    "r": 120,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 293.265,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42853,
    "c": 0.16806,
    "h": 323
  },
  "luminance": 0.06719
}

Semantic roles & 50–950 ramp

primary
#782183
secondary
#57B54B
accent
#E34557
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #782183

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

Preview Lab → · Contrast checker → · Palette generator →

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