#784CDF#784CDF

#784CDF is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.8% C 0.211 H 291.6°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#784CDF
RGBrgb(120, 76, 223)
HSLhsl(258, 70%, 59%)
HSVhsv(258, 66%, 87%)
CMYKcmyk(46.2%, 65.9%, 0%, 12.5%)
CIE-LABlab(44.93, 51.85, -68.67)
CIE-LCHlch(44.93, 86.05, 307.06°)
OKLaboklab(54.77% 0.0779 -0.1966)
OKLCHoklch(54.77% 0.211 291.6)
XYZxyz(23.6457, 14.4888, 71.3485)
Luminance0.1449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784CDF #B3DF4C
analogous
#4C69DF #784CDF #C14CDF
triadic
#784CDF #DF784C #4CDF78
tetradic
#784CDF #DF4C69 #B3DF4C #4CDFC1
square
#784CDF #DF4C69 #B3DF4C #4CDFC1
split-complementary
#784CDF #DFC14C #69DF4C
monochromatic
#401B96 #5624CA #784CDF #9F80E8 #C6B4F2

Accessibility & contrast

On white

5.39
#784CDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#784CDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784CDF
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784CDF#FFFFFF#000000##FFFFFF
##784CDF1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE4
Deuteranopia (green-blind)
#0067DC
Tritanopia (blue-blind)
#58708F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #784cdf;
/* rgb */ color: rgb(120, 76, 223);
/* oklch */ color: oklch(54.8% 0.211 291.6);
Tailwind
colors: {
  custom: {
    50: '#a781ea',
    500: '#784cdf',
    950: '#000000',
  },
}
SCSS
$custom: #784cdf;
$custom-light: #a781ea;
$custom-dark: #000000;
JSON
{
  "hex": "#784cdf",
  "rgb": {
    "r": 120,
    "g": 76,
    "b": 223
  },
  "hsl": {
    "h": 257.959,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.54772,
    "c": 0.21148,
    "h": 291.6
  },
  "luminance": 0.1449
}

Semantic roles & 50–950 ramp

primary
#784CDF
secondary
#CFE0A6
accent
#EC3BB7
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #784CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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