#784DD9#784DD9

#784DD9 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.5% C 0.203 H 292.5°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#784DD9
RGBrgb(120, 77, 217)
HSLhsl(258, 65%, 58%)
HSVhsv(258, 65%, 85%)
CMYKcmyk(44.7%, 64.5%, 0%, 14.9%)
CIE-LABlab(44.67, 49.69, -65.66)
CIE-LCHlch(44.67, 82.34, 307.12°)
OKLaboklab(54.45% 0.0776 -0.1877)
OKLCHoklch(54.45% 0.203 292.5)
XYZxyz(22.9205, 14.3099, 67.1866)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784DD9 #AED94D
analogous
#4D68D9 #784DD9 #BE4DD9
triadic
#784DD9 #D9784D #4DD978
tetradic
#784DD9 #D94D68 #AED94D #4DD9BE
square
#784DD9 #D94D68 #AED94D #4DD9BE
split-complementary
#784DD9 #D9BE4D #68D94D
monochromatic
#401E8D #5729C0 #784DD9 #9E7FE4 #C5B2EF

Accessibility & contrast

On white

5.44
#784DD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#784DD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784DD9
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784DD9#FFFFFF#000000##FFFFFF
##784DD91.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDD
Deuteranopia (green-blind)
#0067D6
Tritanopia (blue-blind)
#5C6E8C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #784dd9;
/* rgb */ color: rgb(120, 77, 217);
/* oklch */ color: oklch(54.5% 0.203 292.5);
Tailwind
colors: {
  custom: {
    50: '#a681e6',
    500: '#784dd9',
    950: '#000000',
  },
}
SCSS
$custom: #784dd9;
$custom-light: #a681e6;
$custom-dark: #000000;
JSON
{
  "hex": "#784dd9",
  "rgb": {
    "r": 120,
    "g": 77,
    "b": 217
  },
  "hsl": {
    "h": 258.429,
    "s": 64.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.54451,
    "c": 0.20317,
    "h": 292.5
  },
  "luminance": 0.14311
}

Semantic roles & 50–950 ramp

primary
#784DD9
secondary
#CCDDA5
accent
#E840B4
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #784DD9

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

Preview Lab → · Contrast checker → · Palette generator →

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