#782893#782893

#782893 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.6% C 0.174 H 316.1°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#782893
RGBrgb(120, 40, 147)
HSLhsl(285, 57%, 37%)
HSVhsv(285, 73%, 58%)
CMYKcmyk(18.4%, 72.8%, 0%, 42.4%)
CIE-LABlab(33.17, 50.65, -42.92)
CIE-LCHlch(33.17, 66.39, 319.72°)
OKLaboklab(44.62% 0.1257 -0.1208)
OKLCHoklch(44.62% 0.174 316.1)
XYZxyz(13.7702, 7.6178, 28.3431)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782893 #439328
analogous
#432893 #782893 #932879
triadic
#782893 #937828 #289378
tetradic
#782893 #934328 #439328 #287993
square
#782893 #934328 #439328 #287993
split-complementary
#782893 #799328 #289343
monochromatic
#290E33 #511B63 #782893 #9F35C3 #B761D4

Accessibility & contrast

On white

8.32
#782893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#782893 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782893
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782893#FFFFFF#000000##FFFFFF
##7828931.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004996
Deuteranopia (green-blind)
#275091
Tritanopia (blue-blind)
#763E5B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #782893;
/* rgb */ color: rgb(120, 40, 147);
/* oklch */ color: oklch(44.6% 0.174 316.1);
Tailwind
colors: {
  custom: {
    50: '#a26ab3',
    500: '#782893',
    950: '#000000',
  },
}
SCSS
$custom: #782893;
$custom-light: #a26ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#782893",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 147
  },
  "hsl": {
    "h": 284.86,
    "s": 57.219,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44624,
    "c": 0.17429,
    "h": 316.1
  },
  "luminance": 0.07617
}

Semantic roles & 50–950 ramp

primary
#782893
secondary
#74BA5D
accent
#E0476E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #782893

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

Preview Lab → · Contrast checker → · Palette generator →

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