#784FDD#784FDD

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

Color values

HEX#784FDD
RGBrgb(120, 79, 221)
HSLhsl(257, 68%, 59%)
HSVhsv(257, 64%, 87%)
CMYKcmyk(45.7%, 64.3%, 0%, 13.3%)
CIE-LABlab(45.37, 49.71, -66.82)
CIE-LCHlch(45.37, 83.28, 306.65°)
OKLaboklab(55.04% 0.0752 -0.1912)
OKLCHoklch(55.04% 0.205 291.5)
XYZxyz(23.5892, 14.8047, 70.0073)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784FDD #B4DD4F
analogous
#4F6DDD #784FDD #BF4FDD
triadic
#784FDD #DD784F #4FDD78
tetradic
#784FDD #DD4F6D #B4DD4F #4FDDBF
square
#784FDD #DD4F6D #B4DD4F #4FDDBF
split-complementary
#784FDD #DDBF4F #6DDD4F
monochromatic
#3F1D95 #5527C8 #784FDD #9F82E7 #C7B6F1

Accessibility & contrast

On white

5.30
#784FDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #784FDD
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784FDD#FFFFFF#000000##FFFFFF
##784FDD1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #784fdd;
/* rgb */ color: rgb(120, 79, 221);
/* oklch */ color: oklch(55.0% 0.205 291.5);
Tailwind
colors: {
  custom: {
    50: '#a683e8',
    500: '#784fdd',
    950: '#000000',
  },
}
SCSS
$custom: #784fdd;
$custom-light: #a683e8;
$custom-dark: #000000;
JSON
{
  "hex": "#784fdd",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 221
  },
  "hsl": {
    "h": 257.324,
    "s": 67.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.55043,
    "c": 0.2054,
    "h": 291.5
  },
  "luminance": 0.14805
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #784FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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