#784DC0#784DC0

#784DC0 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.6% C 0.173 H 297.3°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#784DC0
RGBrgb(120, 77, 192)
HSLhsl(262, 48%, 53%)
HSVhsv(262, 60%, 75%)
CMYKcmyk(37.5%, 59.9%, 0%, 24.7%)
CIE-LABlab(42.92, 42.98, -54.07)
CIE-LCHlch(42.92, 69.07, 308.48°)
OKLaboklab(52.63% 0.0794 -0.1537)
OKLCHoklch(52.63% 0.173 297.3)
XYZxyz(19.9116, 13.1063, 51.3397)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784DC0 #95C04D
analogous
#4D5BC0 #784DC0 #B24DC0
triadic
#784DC0 #C0784D #4DC078
tetradic
#784DC0 #C04D5B #95C04D #4DC0B2
square
#784DC0 #C04D5B #95C04D #4DC0B2
split-complementary
#784DC0 #C0B24D #5BC04D
monochromatic
#40266C #5B3699 #784DC0 #9A7AD0 #BDA7E0

Accessibility & contrast

On white

5.80
#784DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#784DC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784DC0
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784DC0#FFFFFF#000000##FFFFFF
##784DC01.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C4
Deuteranopia (green-blind)
#1E64BD
Tritanopia (blue-blind)
#67667F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #784dc0;
/* rgb */ color: rgb(120, 77, 192);
/* oklch */ color: oklch(52.6% 0.173 297.3);
Tailwind
colors: {
  custom: {
    50: '#a481d4',
    500: '#784dc0',
    950: '#000000',
  },
}
SCSS
$custom: #784dc0;
$custom-light: #a481d4;
$custom-dark: #000000;
JSON
{
  "hex": "#784dc0",
  "rgb": {
    "r": 120,
    "g": 77,
    "b": 192
  },
  "hsl": {
    "h": 262.435,
    "s": 47.718,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52625,
    "c": 0.17301,
    "h": 297.3
  },
  "luminance": 0.13107
}

Semantic roles & 50–950 ramp

primary
#784DC0
secondary
#BBCD9B
accent
#D750A5
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #784DC0

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

Preview Lab → · Contrast checker → · Palette generator →

#784DC0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva