#784BDD#784BDD

#784BDD is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.5% C 0.210 H 292.1°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#784BDD
RGBrgb(120, 75, 221)
HSLhsl(258, 68%, 58%)
HSVhsv(258, 66%, 87%)
CMYKcmyk(45.7%, 66.1%, 0%, 13.3%)
CIE-LABlab(44.58, 51.84, -68.09)
CIE-LCHlch(44.58, 85.58, 307.28°)
OKLaboklab(54.48% 0.0792 -0.1949)
OKLCHoklch(54.48% 0.21 292.1)
XYZxyz(23.3093, 14.2449, 69.9140)
Luminance0.1425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784BDD #B0DD4B
analogous
#4B67DD #784BDD #C14BDD
triadic
#784BDD #DD784B #4BDD78
tetradic
#784BDD #DD4B67 #B0DD4B #4BDDC1
square
#784BDD #DD4B67 #B0DD4B #4BDDC1
split-complementary
#784BDD #DDC14B #67DD4B
monochromatic
#401C92 #5725C5 #784BDD #9F7EE7 #C5B2F0

Accessibility & contrast

On white

5.46
#784BDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#784BDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784BDD
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784BDD#FFFFFF#000000##FFFFFF
##784BDD1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE1
Deuteranopia (green-blind)
#0066DA
Tritanopia (blue-blind)
#5A6F8E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #784bdd;
/* rgb */ color: rgb(120, 75, 221);
/* oklch */ color: oklch(54.5% 0.210 292.1);
Tailwind
colors: {
  custom: {
    50: '#a780e9',
    500: '#784bdd',
    950: '#000000',
  },
}
SCSS
$custom: #784bdd;
$custom-light: #a780e9;
$custom-dark: #000000;
JSON
{
  "hex": "#784bdd",
  "rgb": {
    "r": 120,
    "g": 75,
    "b": 221
  },
  "hsl": {
    "h": 258.493,
    "s": 68.224,
    "l": 58.039
  },
  "oklch": {
    "l": 0.54478,
    "c": 0.21037,
    "h": 292.1
  },
  "luminance": 0.14246
}

Semantic roles & 50–950 ramp

primary
#784BDD
secondary
#CDDFA5
accent
#EB3DB5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #784BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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