#784CED#784CED

#784CED is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.9% C 0.228 H 289.5°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#784CED
RGBrgb(120, 76, 237)
HSLhsl(256, 82%, 61%)
HSVhsv(256, 68%, 93%)
CMYKcmyk(49.4%, 67.9%, 0%, 7.1%)
CIE-LABlab(46.01, 55.67, -74.83)
CIE-LCHlch(46.01, 93.27, 306.65°)
OKLaboklab(55.89% 0.0759 -0.2147)
OKLCHoklch(55.89% 0.228 289.5)
XYZxyz(25.6118, 15.2753, 81.7033)
Luminance0.1528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784CED #C1ED4C
analogous
#4C71ED #784CED #C94CED
triadic
#784CED #ED784C #4CED78
tetradic
#784CED #ED4C71 #C1ED4C #4CEDC9
square
#784CED #ED4C71 #C1ED4C #4CEDC9
split-complementary
#784CED #EDC94C #71ED4C
monochromatic
#3C11AD #4F17E5 #784CED #A284F3 #CCBBF8

Accessibility & contrast

On white

5.18
#784CED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#784CED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784CED
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784CED#FFFFFF#000000##FFFFFF
##784CED1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F2
Deuteranopia (green-blind)
#0069EA
Tritanopia (blue-blind)
#4F7597
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #784ced;
/* rgb */ color: rgb(120, 76, 237);
/* oklch */ color: oklch(55.9% 0.228 289.5);
Tailwind
colors: {
  custom: {
    50: '#a881f4',
    500: '#784ced',
    950: '#000000',
  },
}
SCSS
$custom: #784ced;
$custom-light: #a881f4;
$custom-dark: #000000;
JSON
{
  "hex": "#784ced",
  "rgb": {
    "r": 120,
    "g": 76,
    "b": 237
  },
  "hsl": {
    "h": 256.398,
    "s": 81.726,
    "l": 61.373
  },
  "oklch": {
    "l": 0.55887,
    "c": 0.22771,
    "h": 289.5
  },
  "luminance": 0.15276
}

Semantic roles & 50–950 ramp

primary
#784CED
secondary
#D8E8AC
accent
#DE07A3
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #784CED

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

Preview Lab → · Contrast checker → · Palette generator →

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