#784CDB#784CDB

#784CDB is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.5% C 0.207 H 292.3°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#784CDB
RGBrgb(120, 76, 219)
HSLhsl(258, 67%, 58%)
HSVhsv(258, 65%, 86%)
CMYKcmyk(45.2%, 65.3%, 0%, 14.1%)
CIE-LABlab(44.63, 50.77, -66.88)
CIE-LCHlch(44.63, 83.97, 307.20°)
OKLaboklab(54.46% 0.0784 -0.1913)
OKLCHoklch(54.46% 0.207 292.3)
XYZxyz(23.1128, 14.2757, 68.5418)
Luminance0.1428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784CDB #AFDB4C
analogous
#4C67DB #784CDB #C04CDB
triadic
#784CDB #DB784C #4CDB78
tetradic
#784CDB #DB4C67 #AFDB4C #4CDBC0
square
#784CDB #DB4C67 #AFDB4C #4CDBC0
split-complementary
#784CDB #DBC04C #67DB4C
monochromatic
#401D90 #5727C3 #784CDB #9E7FE5 #C5B2EF

Accessibility & contrast

On white

5.45
#784CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#784CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784CDB
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784CDB#FFFFFF#000000##FFFFFF
##784CDB1.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDF
Deuteranopia (green-blind)
#0067D8
Tritanopia (blue-blind)
#5B6E8D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #784cdb;
/* rgb */ color: rgb(120, 76, 219);
/* oklch */ color: oklch(54.5% 0.207 292.3);
Tailwind
colors: {
  custom: {
    50: '#a681e7',
    500: '#784cdb',
    950: '#000000',
  },
}
SCSS
$custom: #784cdb;
$custom-light: #a681e7;
$custom-dark: #000000;
JSON
{
  "hex": "#784cdb",
  "rgb": {
    "r": 120,
    "g": 76,
    "b": 219
  },
  "hsl": {
    "h": 258.462,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54462,
    "c": 0.20679,
    "h": 292.3
  },
  "luminance": 0.14276
}

Semantic roles & 50–950 ramp

primary
#784CDB
secondary
#CCDEA5
accent
#E93EB5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #784CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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