#784DC8#784DC8

#784DC8 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.2% C 0.183 H 295.6°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#784DC8
RGBrgb(120, 77, 200)
HSLhsl(261, 53%, 54%)
HSVhsv(261, 62%, 78%)
CMYKcmyk(40%, 61.5%, 0%, 21.6%)
CIE-LABlab(43.46, 45.11, -57.85)
CIE-LCHlch(43.46, 73.35, 307.95°)
OKLaboklab(53.19% 0.0791 -0.1648)
OKLCHoklch(53.19% 0.183 295.6)
XYZxyz(20.8222, 13.4705, 56.1354)
Luminance0.1347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784DC8 #9DC84D
analogous
#4D5FC8 #784DC8 #B64DC8
triadic
#784DC8 #C8784D #4DC878
tetradic
#784DC8 #C84D5F #9DC84D #4DC8B6
square
#784DC8 #C84D5F #9DC84D #4DC8B6
split-complementary
#784DC8 #C8B64D #5FC84D
monochromatic
#412476 #5B33A5 #784DC8 #9B7CD6 #BFABE5

Accessibility & contrast

On white

5.68
#784DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#784DC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784DC8
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784DC8#FFFFFF#000000##FFFFFF
##784DC81.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#0465C5
Tritanopia (blue-blind)
#646883
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #784dc8;
/* rgb */ color: rgb(120, 77, 200);
/* oklch */ color: oklch(53.2% 0.183 295.6);
Tailwind
colors: {
  custom: {
    50: '#a481d9',
    500: '#784dc8',
    950: '#000000',
  },
}
SCSS
$custom: #784dc8;
$custom-light: #a481d9;
$custom-dark: #000000;
JSON
{
  "hex": "#784dc8",
  "rgb": {
    "r": 120,
    "g": 77,
    "b": 200
  },
  "hsl": {
    "h": 260.976,
    "s": 52.79,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53191,
    "c": 0.18276,
    "h": 295.6
  },
  "luminance": 0.13471
}

Semantic roles & 50–950 ramp

primary
#784DC8
secondary
#C0D29E
accent
#DC4CAA
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #784DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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