#784CDD#784CDD

#784CDD is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.6% C 0.209 H 292.0°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#784CDD
RGBrgb(120, 76, 221)
HSLhsl(258, 68%, 58%)
HSVhsv(258, 66%, 87%)
CMYKcmyk(45.7%, 65.6%, 0%, 13.3%)
CIE-LABlab(44.78, 51.31, -67.78)
CIE-LCHlch(44.78, 85.01, 307.13°)
OKLaboklab(54.62% 0.0782 -0.194)
OKLCHoklch(54.62% 0.209 292)
XYZxyz(23.3777, 14.3816, 69.9368)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784CDD #B1DD4C
analogous
#4C68DD #784CDD #C04CDD
triadic
#784CDD #DD784C #4CDD78
tetradic
#784CDD #DD4C68 #B1DD4C #4CDDC0
square
#784CDD #DD4C68 #B1DD4C #4CDDC0
split-complementary
#784CDD #DDC04C #68DD4C
monochromatic
#401C93 #5626C6 #784CDD #9F7FE7 #C6B3F1

Accessibility & contrast

On white

5.42
#784CDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#784CDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784CDD
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784CDD#FFFFFF#000000##FFFFFF
##784CDD1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE1
Deuteranopia (green-blind)
#0067DA
Tritanopia (blue-blind)
#596F8E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #784cdd;
/* rgb */ color: rgb(120, 76, 221);
/* oklch */ color: oklch(54.6% 0.209 292.0);
Tailwind
colors: {
  custom: {
    50: '#a781e9',
    500: '#784cdd',
    950: '#000000',
  },
}
SCSS
$custom: #784cdd;
$custom-light: #a781e9;
$custom-dark: #000000;
JSON
{
  "hex": "#784cdd",
  "rgb": {
    "r": 120,
    "g": 76,
    "b": 221
  },
  "hsl": {
    "h": 258.207,
    "s": 68.075,
    "l": 58.235
  },
  "oklch": {
    "l": 0.54617,
    "c": 0.20913,
    "h": 292
  },
  "luminance": 0.14382
}

Semantic roles & 50–950 ramp

primary
#784CDD
secondary
#CEDFA6
accent
#EB3DB6
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #784CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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