#782FAE#782FAE

#782FAE is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.3% C 0.193 H 306.6°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#782FAE
RGBrgb(120, 47, 174)
HSLhsl(274, 57%, 43%)
HSVhsv(274, 73%, 68%)
CMYKcmyk(31%, 73%, 0%, 31.8%)
CIE-LABlab(36.14, 53.61, -54.44)
CIE-LCHlch(36.14, 76.40, 314.56°)
OKLaboklab(47.34% 0.1147 -0.1546)
OKLCHoklch(47.34% 0.193 306.6)
XYZxyz(16.4006, 9.0823, 40.9252)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782FAE #65AE2F
analogous
#382FAE #782FAE #AE2FA4
triadic
#782FAE #AE782F #2FAE78
tetradic
#782FAE #AE382F #65AE2F #2FA4AE
square
#782FAE #AE382F #65AE2F #2FA4AE
split-complementary
#782FAE #A4AE2F #2FAE38
monochromatic
#36154E #57227E #782FAE #974CCF #B37CDC

Accessibility & contrast

On white

7.46
#782FAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#782FAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782FAE
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782FAE#FFFFFF#000000##FFFFFF
##782FAE1.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B2
Deuteranopia (green-blind)
#0055AB
Tritanopia (blue-blind)
#6F4D6C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #782fae;
/* rgb */ color: rgb(120, 47, 174);
/* oklch */ color: oklch(47.3% 0.193 306.6);
Tailwind
colors: {
  custom: {
    50: '#a46ec7',
    500: '#782fae',
    950: '#000000',
  },
}
SCSS
$custom: #782fae;
$custom-light: #a46ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#782fae",
  "rgb": {
    "r": 120,
    "g": 47,
    "b": 174
  },
  "hsl": {
    "h": 274.488,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47342,
    "c": 0.19253,
    "h": 306.6
  },
  "luminance": 0.09082
}

Semantic roles & 50–950 ramp

primary
#782FAE
secondary
#96C475
accent
#E14788
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #782FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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