#784ECF#784ECF

#784ECF is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.8% C 0.190 H 294.1°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#784ECF
RGBrgb(120, 78, 207)
HSLhsl(260, 57%, 56%)
HSVhsv(260, 62%, 81%)
CMYKcmyk(42%, 62.3%, 0%, 18.8%)
CIE-LABlab(44.16, 46.44, -60.77)
CIE-LCHlch(44.16, 76.48, 307.39°)
OKLaboklab(53.85% 0.0775 -0.1734)
OKLCHoklch(53.85% 0.19 294.1)
XYZxyz(21.7296, 13.9463, 60.5664)
Luminance0.1395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784ECF #A5CF4E
analogous
#4E64CF #784ECF #B84ECF
triadic
#784ECF #CF784E #4ECF78
tetradic
#784ECF #CF4E64 #A5CF4E #4ECFB8
square
#784ECF #CF4E64 #A5CF4E #4ECFB8
split-complementary
#784ECF #CFB84E #64CF4E
monochromatic
#412380 #5A30B0 #784ECF #9D7EDC #C1AEE9

Accessibility & contrast

On white

5.54
#784ECF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#784ECF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784ECF
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784ECF#FFFFFF#000000##FFFFFF
##784ECF1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#0066CC
Tritanopia (blue-blind)
#616B87
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #784ecf;
/* rgb */ color: rgb(120, 78, 207);
/* oklch */ color: oklch(53.8% 0.190 294.1);
Tailwind
colors: {
  custom: {
    50: '#a582de',
    500: '#784ecf',
    950: '#000000',
  },
}
SCSS
$custom: #784ecf;
$custom-light: #a582de;
$custom-dark: #000000;
JSON
{
  "hex": "#784ecf",
  "rgb": {
    "r": 120,
    "g": 78,
    "b": 207
  },
  "hsl": {
    "h": 259.535,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.53849,
    "c": 0.18989,
    "h": 294.1
  },
  "luminance": 0.13947
}

Semantic roles & 50–950 ramp

primary
#784ECF
secondary
#C6D7A2
accent
#E147AF
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #784ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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