#784FC9#784FC9

#784FC9 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.6% C 0.181 H 295.0°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#784FC9
RGBrgb(120, 79, 201)
HSLhsl(260, 53%, 55%)
HSVhsv(260, 61%, 79%)
CMYKcmyk(40.3%, 60.7%, 0%, 21.2%)
CIE-LABlab(43.95, 44.27, -57.64)
CIE-LCHlch(43.95, 72.68, 307.52°)
OKLaboklab(53.57% 0.0767 -0.1642)
OKLCHoklch(53.57% 0.181 295)
XYZxyz(21.0815, 13.8016, 56.8003)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784FC9 #A0C94F
analogous
#4F63C9 #784FC9 #B54FC9
triadic
#784FC9 #C9784F #4FC978
tetradic
#784FC9 #C94F63 #A0C94F #4FC9B5
square
#784FC9 #C94F63 #A0C94F #4FC9B5
split-complementary
#784FC9 #C9B54F #63C94F
monochromatic
#412579 #5A33A7 #784FC9 #9C7ED7 #C0ADE6

Accessibility & contrast

On white

5.58
#784FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#784FC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784FC9
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784FC9#FFFFFF#000000##FFFFFF
##784FC91.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CD
Deuteranopia (green-blind)
#0A66C6
Tritanopia (blue-blind)
#636A84
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #784fc9;
/* rgb */ color: rgb(120, 79, 201);
/* oklch */ color: oklch(53.6% 0.181 295.0);
Tailwind
colors: {
  custom: {
    50: '#a482da',
    500: '#784fc9',
    950: '#000000',
  },
}
SCSS
$custom: #784fc9;
$custom-light: #a482da;
$custom-dark: #000000;
JSON
{
  "hex": "#784fc9",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 201
  },
  "hsl": {
    "h": 260.164,
    "s": 53.043,
    "l": 54.902
  },
  "oklch": {
    "l": 0.53565,
    "c": 0.18122,
    "h": 295
  },
  "luminance": 0.13802
}

Semantic roles & 50–950 ramp

primary
#784FC9
secondary
#C2D4A0
accent
#DC4BAC
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #784FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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