#784EDE#784EDE

#784EDE is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.0% C 0.208 H 291.5°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#784EDE
RGBrgb(120, 78, 222)
HSLhsl(258, 69%, 59%)
HSVhsv(258, 65%, 87%)
CMYKcmyk(45.9%, 64.9%, 0%, 12.9%)
CIE-LABlab(45.24, 50.52, -67.59)
CIE-LCHlch(45.24, 84.38, 306.78°)
OKLaboklab(54.98% 0.0761 -0.1934)
OKLCHoklch(54.98% 0.208 291.5)
XYZxyz(23.6512, 14.7150, 70.6872)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784EDE #B4DE4E
analogous
#4E6CDE #784EDE #C04EDE
triadic
#784EDE #DE784E #4EDE78
tetradic
#784EDE #DE4E6C #B4DE4E #4EDEC0
square
#784EDE #DE4E6C #B4DE4E #4EDEC0
split-complementary
#784EDE #DEC04E #6CDE4E
monochromatic
#3F1C96 #5526C9 #784EDE #9F82E8 #C7B5F1

Accessibility & contrast

On white

5.33
#784EDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#784EDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784EDE
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784EDE#FFFFFF#000000##FFFFFF
##784EDE1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE2
Deuteranopia (green-blind)
#0068DB
Tritanopia (blue-blind)
#59718F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #784ede;
/* rgb */ color: rgb(120, 78, 222);
/* oklch */ color: oklch(55.0% 0.208 291.5);
Tailwind
colors: {
  custom: {
    50: '#a782e9',
    500: '#784ede',
    950: '#000000',
  },
}
SCSS
$custom: #784ede;
$custom-light: #a782e9;
$custom-dark: #000000;
JSON
{
  "hex": "#784ede",
  "rgb": {
    "r": 120,
    "g": 78,
    "b": 222
  },
  "hsl": {
    "h": 257.5,
    "s": 68.571,
    "l": 58.824
  },
  "oklch": {
    "l": 0.54976,
    "c": 0.20784,
    "h": 291.5
  },
  "luminance": 0.14716
}

Semantic roles & 50–950 ramp

primary
#784EDE
secondary
#D0E0A8
accent
#EB3CB8
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #784EDE

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

Preview Lab → · Contrast checker → · Palette generator →

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