#782E95#782E95

#782E95 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.4% C 0.169 H 314.9°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#782E95
RGBrgb(120, 46, 149)
HSLhsl(283, 53%, 38%)
HSVhsv(283, 69%, 58%)
CMYKcmyk(19.5%, 69.1%, 0%, 41.6%)
CIE-LABlab(34.23, 48.48, -42.45)
CIE-LCHlch(34.23, 64.44, 318.80°)
OKLaboklab(45.42% 0.1189 -0.1194)
OKLCHoklch(45.42% 0.169 314.9)
XYZxyz(14.1467, 8.1175, 29.2496)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782E95 #4B952E
analogous
#442E95 #782E95 #952E7E
triadic
#782E95 #95782E #2E9578
tetradic
#782E95 #95442E #4B952E #2E7E95
square
#782E95 #95442E #4B952E #2E7E95
split-complementary
#782E95 #7E952E #2E9544
monochromatic
#2D1137 #522066 #782E95 #9D3DC3 #B56CD2

Accessibility & contrast

On white

8.00
#782E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#782E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782E95
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782E95#FFFFFF#000000##FFFFFF
##782E951.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C98
Deuteranopia (green-blind)
#2B5293
Tritanopia (blue-blind)
#76425E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #782e95;
/* rgb */ color: rgb(120, 46, 149);
/* oklch */ color: oklch(45.4% 0.169 314.9);
Tailwind
colors: {
  custom: {
    50: '#a26db5',
    500: '#782e95',
    950: '#000000',
  },
}
SCSS
$custom: #782e95;
$custom-light: #a26db5;
$custom-dark: #000000;
JSON
{
  "hex": "#782e95",
  "rgb": {
    "r": 120,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 283.107,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45418,
    "c": 0.16854,
    "h": 314.9
  },
  "luminance": 0.08117
}

Semantic roles & 50–950 ramp

primary
#782E95
secondary
#7DB966
accent
#DC4C74
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #782E95

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

Preview Lab → · Contrast checker → · Palette generator →

#782E95 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva