#782FC7#782FC7

#782FC7 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.3% C 0.218 H 300.1°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#782FC7
RGBrgb(120, 47, 199)
HSLhsl(269, 62%, 48%)
HSVhsv(269, 76%, 78%)
CMYKcmyk(39.7%, 76.4%, 0%, 22%)
CIE-LABlab(38.11, 59.48, -65.97)
CIE-LCHlch(38.11, 88.82, 312.04°)
OKLaboklab(49.34% 0.1093 -0.1885)
OKLCHoklch(49.34% 0.218 300.1)
XYZxyz(19.0685, 10.1494, 54.9762)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782FC7 #7EC72F
analogous
#2F32C7 #782FC7 #C42FC7
triadic
#782FC7 #C7782F #2FC778
tetradic
#782FC7 #C72F32 #7EC72F #2FC7C4
square
#782FC7 #C72F32 #7EC72F #2FC7C4
split-complementary
#782FC7 #C7C42F #32C72F
monochromatic
#3C1864 #5A2395 #782FC7 #975BD8 #B68CE4

Accessibility & contrast

On white

6.93
#782FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#782FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #782FC7
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782FC7#FFFFFF#000000##FFFFFF
##782FC71.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CB
Deuteranopia (green-blind)
#0059C4
Tritanopia (blue-blind)
#66577A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #782fc7;
/* rgb */ color: rgb(120, 47, 199);
/* oklch */ color: oklch(49.3% 0.218 300.1);
Tailwind
colors: {
  custom: {
    50: '#a66fd9',
    500: '#782fc7',
    950: '#000000',
  },
}
SCSS
$custom: #782fc7;
$custom-light: #a66fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#782fc7",
  "rgb": {
    "r": 120,
    "g": 47,
    "b": 199
  },
  "hsl": {
    "h": 268.816,
    "s": 61.789,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49341,
    "c": 0.2179,
    "h": 300.1
  },
  "luminance": 0.1015
}

Semantic roles & 50–950 ramp

primary
#782FC7
secondary
#AACE84
accent
#E54397
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #782FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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