#782B95#782B95

#782B95 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.1% C 0.172 H 315.2°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#782B95
RGBrgb(120, 43, 149)
HSLhsl(284, 55%, 38%)
HSVhsv(284, 71%, 58%)
CMYKcmyk(19.5%, 71.1%, 0%, 41.6%)
CIE-LABlab(33.76, 49.81, -43.21)
CIE-LCHlch(33.76, 65.93, 319.06°)
OKLaboklab(45.08% 0.1223 -0.1216)
OKLCHoklch(45.08% 0.172 315.2)
XYZxyz(14.0335, 7.8913, 29.2119)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782B95 #48952B
analogous
#432B95 #782B95 #952B7D
triadic
#782B95 #95782B #2B9578
tetradic
#782B95 #95432B #48952B #2B7D95
square
#782B95 #95432B #48952B #2B7D95
split-complementary
#782B95 #7D952B #2B9543
monochromatic
#2B1036 #521D66 #782B95 #9E39C4 #B667D3

Accessibility & contrast

On white

8.15
#782B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#782B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782B95
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782B95#FFFFFF#000000##FFFFFF
##782B951.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B98
Deuteranopia (green-blind)
#285193
Tritanopia (blue-blind)
#76415D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #782b95;
/* rgb */ color: rgb(120, 43, 149);
/* oklch */ color: oklch(45.1% 0.172 315.2);
Tailwind
colors: {
  custom: {
    50: '#a26bb5',
    500: '#782b95',
    950: '#000000',
  },
}
SCSS
$custom: #782b95;
$custom-light: #a26bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#782b95",
  "rgb": {
    "r": 120,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 283.585,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45081,
    "c": 0.17246,
    "h": 315.2
  },
  "luminance": 0.07891
}

Semantic roles & 50–950 ramp

primary
#782B95
secondary
#7ABA62
accent
#DF4972
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #782B95

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

Preview Lab → · Contrast checker → · Palette generator →

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