#784DE2#784DE2

#784DE2 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.1% C 0.214 H 291.0°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#784DE2
RGBrgb(120, 77, 226)
HSLhsl(257, 72%, 59%)
HSVhsv(257, 66%, 89%)
CMYKcmyk(46.9%, 65.9%, 0%, 11.4%)
CIE-LABlab(45.35, 52.14, -69.69)
CIE-LCHlch(45.35, 87.04, 306.81°)
OKLaboklab(55.15% 0.0766 -0.1996)
OKLCHoklch(55.15% 0.214 291)
XYZxyz(24.1232, 14.7909, 73.5207)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784DE2 #B7E24D
analogous
#4D6DE2 #784DE2 #C24DE2
triadic
#784DE2 #E2784D #4DE278
tetradic
#784DE2 #E24D6D #B7E24D #4DE2C2
square
#784DE2 #E24D6D #B7E24D #4DE2C2
split-complementary
#784DE2 #E2C24D #6DE24D
monochromatic
#3F199B #5422D0 #784DE2 #A082EB #C8B6F3

Accessibility & contrast

On white

5.31
#784DE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#784DE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784DE2
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784DE2#FFFFFF#000000##FFFFFF
##784DE21.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE7
Deuteranopia (green-blind)
#0068DF
Tritanopia (blue-blind)
#567191
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #784de2;
/* rgb */ color: rgb(120, 77, 226);
/* oklch */ color: oklch(55.1% 0.214 291.0);
Tailwind
colors: {
  custom: {
    50: '#a781ec',
    500: '#784de2',
    950: '#000000',
  },
}
SCSS
$custom: #784de2;
$custom-light: #a781ec;
$custom-dark: #000000;
JSON
{
  "hex": "#784de2",
  "rgb": {
    "r": 120,
    "g": 77,
    "b": 226
  },
  "hsl": {
    "h": 257.315,
    "s": 71.981,
    "l": 59.412
  },
  "oklch": {
    "l": 0.55146,
    "c": 0.21378,
    "h": 291
  },
  "luminance": 0.14792
}

Semantic roles & 50–950 ramp

primary
#784DE2
secondary
#D2E2A8
accent
#EF39BA
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #784DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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