#784DC9#784DC9

#784DC9 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.3% C 0.184 H 295.4°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#784DC9
RGBrgb(120, 77, 201)
HSLhsl(261, 53%, 55%)
HSVhsv(261, 62%, 79%)
CMYKcmyk(40.3%, 61.7%, 0%, 21.2%)
CIE-LABlab(43.53, 45.37, -58.31)
CIE-LCHlch(43.53, 73.89, 307.89°)
OKLaboklab(53.26% 0.079 -0.1661)
OKLCHoklch(53.26% 0.184 295.4)
XYZxyz(20.9395, 13.5174, 56.7529)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784DC9 #9EC94D
analogous
#4D60C9 #784DC9 #B64DC9
triadic
#784DC9 #C9784D #4DC978
tetradic
#784DC9 #C94D60 #9EC94D #4DC9B6
square
#784DC9 #C94D60 #9EC94D #4DC9B6
split-complementary
#784DC9 #C9B64D #60C94D
monochromatic
#412477 #5B32A6 #784DC9 #9C7CD7 #BFABE5

Accessibility & contrast

On white

5.67
#784DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#784DC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784DC9
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784DC9#FFFFFF#000000##FFFFFF
##784DC91.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CD
Deuteranopia (green-blind)
#0065C6
Tritanopia (blue-blind)
#636984
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #784dc9;
/* rgb */ color: rgb(120, 77, 201);
/* oklch */ color: oklch(53.3% 0.184 295.4);
Tailwind
colors: {
  custom: {
    50: '#a481da',
    500: '#784dc9',
    950: '#000000',
  },
}
SCSS
$custom: #784dc9;
$custom-light: #a481da;
$custom-dark: #000000;
JSON
{
  "hex": "#784dc9",
  "rgb": {
    "r": 120,
    "g": 77,
    "b": 201
  },
  "hsl": {
    "h": 260.806,
    "s": 53.448,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53263,
    "c": 0.18398,
    "h": 295.4
  },
  "luminance": 0.13518
}

Semantic roles & 50–950 ramp

primary
#784DC9
secondary
#C1D39F
accent
#DD4BAA
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #784DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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