#782CB3#782CB3

#782CB3 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.4% C 0.201 H 305.5°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#782CB3
RGBrgb(120, 44, 179)
HSLhsl(274, 61%, 44%)
HSVhsv(274, 75%, 70%)
CMYKcmyk(33%, 75.4%, 0%, 29.8%)
CIE-LABlab(36.08, 56.02, -57.51)
CIE-LCHlch(36.08, 80.29, 314.25°)
OKLaboklab(47.42% 0.1166 -0.1637)
OKLCHoklch(47.42% 0.201 305.5)
XYZxyz(16.7813, 9.0492, 43.5017)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782CB3 #67B32C
analogous
#352CB3 #782CB3 #B32CAA
triadic
#782CB3 #B3782C #2CB378
tetradic
#782CB3 #B3352C #67B32C #2CAAB3
square
#782CB3 #B3352C #67B32C #2CAAB3
split-complementary
#782CB3 #AAB32C #2CB335
monochromatic
#361451 #572082 #782CB3 #974AD2 #B37BDF

Accessibility & contrast

On white

7.47
#782CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#782CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782CB3
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782CB3#FFFFFF#000000##FFFFFF
##782CB31.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#6D4E6E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #782cb3;
/* rgb */ color: rgb(120, 44, 179);
/* oklch */ color: oklch(47.4% 0.201 305.5);
Tailwind
colors: {
  custom: {
    50: '#a46dcb',
    500: '#782cb3',
    950: '#000000',
  },
}
SCSS
$custom: #782cb3;
$custom-light: #a46dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#782cb3",
  "rgb": {
    "r": 120,
    "g": 44,
    "b": 179
  },
  "hsl": {
    "h": 273.778,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47416,
    "c": 0.20094,
    "h": 305.5
  },
  "luminance": 0.09049
}

Semantic roles & 50–950 ramp

primary
#782CB3
secondary
#98C774
accent
#E4448A
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #782CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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