#782DB0#782DB0

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

Color values

HEX#782DB0
RGBrgb(120, 45, 176)
HSLhsl(274, 59%, 43%)
HSVhsv(274, 74%, 69%)
CMYKcmyk(31.8%, 74.4%, 0%, 31%)
CIE-LABlab(35.99, 54.92, -55.87)
CIE-LCHlch(35.99, 78.34, 314.51°)
OKLaboklab(47.28% 0.1163 -0.1588)
OKLCHoklch(47.28% 0.197 306.2)
XYZxyz(16.5189, 9.0046, 41.9337)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782DB0 #65B02D
analogous
#362DB0 #782DB0 #B02DA6
triadic
#782DB0 #B0782D #2DB078
tetradic
#782DB0 #B0362D #65B02D #2DA6B0
square
#782DB0 #B0362D #65B02D #2DA6B0
split-complementary
#782DB0 #A6B02D #2DB036
monochromatic
#36144F #57217F #782DB0 #974AD1 #B37ADD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##782DB0#FFFFFF#000000##FFFFFF
##782DB01.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)
#0052B4
Deuteranopia (green-blind)
#0055AD
Tritanopia (blue-blind)
#6E4D6C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #782db0;
/* rgb */ color: rgb(120, 45, 176);
/* oklch */ color: oklch(47.3% 0.197 306.2);
Tailwind
colors: {
  custom: {
    50: '#a46dc8',
    500: '#782db0',
    950: '#000000',
  },
}
SCSS
$custom: #782db0;
$custom-light: #a46dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#782db0",
  "rgb": {
    "r": 120,
    "g": 45,
    "b": 176
  },
  "hsl": {
    "h": 274.351,
    "s": 59.276,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47283,
    "c": 0.19685,
    "h": 306.2
  },
  "luminance": 0.09004
}

Semantic roles & 50–950 ramp

primary
#782DB0
secondary
#96C573
accent
#E24589
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #782DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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