#784DC2#784DC2

#784DC2 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.8% C 0.175 H 296.9°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#784DC2
RGBrgb(120, 77, 194)
HSLhsl(262, 49%, 53%)
HSVhsv(262, 60%, 76%)
CMYKcmyk(38.1%, 60.3%, 0%, 23.9%)
CIE-LABlab(43.06, 43.51, -55.02)
CIE-LCHlch(43.06, 70.15, 308.33°)
OKLaboklab(52.76% 0.0794 -0.1565)
OKLCHoklch(52.76% 0.175 296.9)
XYZxyz(20.1347, 13.1955, 52.5147)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784DC2 #97C24D
analogous
#4D5CC2 #784DC2 #B24DC2
triadic
#784DC2 #C2784D #4DC278
tetradic
#784DC2 #C24D5C #97C24D #4DC2B2
square
#784DC2 #C24D5C #97C24D #4DC2B2
split-complementary
#784DC2 #C2B24D #5CC24D
monochromatic
#41266F #5B369C #784DC2 #9B7BD2 #BDA8E1

Accessibility & contrast

On white

5.77
#784DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#784DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784DC2
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784DC2#FFFFFF#000000##FFFFFF
##784DC21.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#1964BF
Tritanopia (blue-blind)
#666680
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #784dc2;
/* rgb */ color: rgb(120, 77, 194);
/* oklch */ color: oklch(52.8% 0.175 296.9);
Tailwind
colors: {
  custom: {
    50: '#a481d5',
    500: '#784dc2',
    950: '#000000',
  },
}
SCSS
$custom: #784dc2;
$custom-light: #a481d5;
$custom-dark: #000000;
JSON
{
  "hex": "#784dc2",
  "rgb": {
    "r": 120,
    "g": 77,
    "b": 194
  },
  "hsl": {
    "h": 262.051,
    "s": 48.954,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52765,
    "c": 0.17545,
    "h": 296.9
  },
  "luminance": 0.13196
}

Semantic roles & 50–950 ramp

primary
#784DC2
secondary
#BCCF9C
accent
#D94FA6
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #784DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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