#782F90#782F90

#782F90 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.2% C 0.162 H 316.7°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#782F90
RGBrgb(120, 47, 144)
HSLhsl(285, 51%, 37%)
HSVhsv(285, 67%, 56%)
CMYKcmyk(16.7%, 67.4%, 0%, 43.5%)
CIE-LABlab(34.07, 46.96, -39.65)
CIE-LCHlch(34.07, 61.46, 319.83°)
OKLaboklab(45.2% 0.118 -0.1112)
OKLCHoklch(45.2% 0.162 316.7)
XYZxyz(13.7955, 8.0403, 27.2054)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782F90 #47902F
analogous
#482F90 #782F90 #902F77
triadic
#782F90 #90782F #2F9078
tetradic
#782F90 #90482F #47902F #2F7790
square
#782F90 #90482F #47902F #2F7790
split-complementary
#782F90 #77902F #2F9048
monochromatic
#2B1134 #522062 #782F90 #9E3EBE #B66BCF

Accessibility & contrast

On white

8.05
#782F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#782F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782F90
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782F90#FFFFFF#000000##FFFFFF
##782F901.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054C93
Deuteranopia (green-blind)
#30528E
Tritanopia (blue-blind)
#77415B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #782f90;
/* rgb */ color: rgb(120, 47, 144);
/* oklch */ color: oklch(45.2% 0.162 316.7);
Tailwind
colors: {
  custom: {
    50: '#a26db1',
    500: '#782f90',
    950: '#000000',
  },
}
SCSS
$custom: #782f90;
$custom-light: #a26db1;
$custom-dark: #000000;
JSON
{
  "hex": "#782f90",
  "rgb": {
    "r": 120,
    "g": 47,
    "b": 144
  },
  "hsl": {
    "h": 285.155,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.452,
    "c": 0.16218,
    "h": 316.7
  },
  "luminance": 0.0804
}

Semantic roles & 50–950 ramp

primary
#782F90
secondary
#79B665
accent
#DA4E70
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #782F90

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

Preview Lab → · Contrast checker → · Palette generator →

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