#782EAE#782EAE

#782EAE is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.2% C 0.194 H 306.7°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#782EAE
RGBrgb(120, 46, 174)
HSLhsl(275, 58%, 43%)
HSVhsv(275, 74%, 68%)
CMYKcmyk(31%, 73.6%, 0%, 31.8%)
CIE-LABlab(35.99, 54.04, -54.68)
CIE-LCHlch(35.99, 76.88, 314.66°)
OKLaboklab(47.23% 0.1157 -0.1553)
OKLCHoklch(47.23% 0.194 306.7)
XYZxyz(16.3611, 9.0032, 40.9121)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782EAE #64AE2E
analogous
#382EAE #782EAE #AE2EA4
triadic
#782EAE #AE782E #2EAE78
tetradic
#782EAE #AE382E #64AE2E #2EA4AE
square
#782EAE #AE382E #64AE2E #2EA4AE
split-complementary
#782EAE #A4AE2E #2EAE38
monochromatic
#35144D #57217E #782EAE #974ACF #B37ADC

Accessibility & contrast

On white

7.50
#782EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#782EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782EAE
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782EAE#FFFFFF#000000##FFFFFF
##782EAE1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #782eae;
/* rgb */ color: rgb(120, 46, 174);
/* oklch */ color: oklch(47.2% 0.194 306.7);
Tailwind
colors: {
  custom: {
    50: '#a46ec7',
    500: '#782eae',
    950: '#000000',
  },
}
SCSS
$custom: #782eae;
$custom-light: #a46ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#782eae",
  "rgb": {
    "r": 120,
    "g": 46,
    "b": 174
  },
  "hsl": {
    "h": 274.688,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.47234,
    "c": 0.1937,
    "h": 306.7
  },
  "luminance": 0.09003
}

Semantic roles & 50–950 ramp

primary
#782EAE
secondary
#96C474
accent
#E14688
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #782EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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