#784CDE#784CDE

#784CDE is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.7% C 0.210 H 291.8°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#784CDE
RGBrgb(120, 76, 222)
HSLhsl(258, 69%, 58%)
HSVhsv(258, 66%, 87%)
CMYKcmyk(45.9%, 65.8%, 0%, 12.9%)
CIE-LABlab(44.85, 51.58, -68.22)
CIE-LCHlch(44.85, 85.53, 307.09°)
OKLaboklab(54.7% 0.0781 -0.1953)
OKLCHoklch(54.7% 0.21 291.8)
XYZxyz(23.5113, 14.4351, 70.6405)
Luminance0.1444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784CDE #B2DE4C
analogous
#4C69DE #784CDE #C14CDE
triadic
#784CDE #DE784C #4CDE78
tetradic
#784CDE #DE4C69 #B2DE4C #4CDEC1
square
#784CDE #DE4C69 #B2DE4C #4CDEC1
split-complementary
#784CDE #DEC14C #69DE4C
monochromatic
#401B94 #5625C8 #784CDE #9F80E8 #C6B3F1

Accessibility & contrast

On white

5.40
#784CDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#784CDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784CDE
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784CDE#FFFFFF#000000##FFFFFF
##784CDE1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE2
Deuteranopia (green-blind)
#0067DB
Tritanopia (blue-blind)
#596F8F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #784cde;
/* rgb */ color: rgb(120, 76, 222);
/* oklch */ color: oklch(54.7% 0.210 291.8);
Tailwind
colors: {
  custom: {
    50: '#a781e9',
    500: '#784cde',
    950: '#000000',
  },
}
SCSS
$custom: #784cde;
$custom-light: #a781e9;
$custom-dark: #000000;
JSON
{
  "hex": "#784cde",
  "rgb": {
    "r": 120,
    "g": 76,
    "b": 222
  },
  "hsl": {
    "h": 258.082,
    "s": 68.868,
    "l": 58.431
  },
  "oklch": {
    "l": 0.54695,
    "c": 0.21031,
    "h": 291.8
  },
  "luminance": 0.14436
}

Semantic roles & 50–950 ramp

primary
#784CDE
secondary
#CEE0A6
accent
#EC3CB7
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #784CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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