#784BCE#784BCE

#784BCE is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.3% C 0.193 H 294.8°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#784BCE
RGBrgb(120, 75, 206)
HSLhsl(261, 57%, 55%)
HSVhsv(261, 64%, 81%)
CMYKcmyk(41.7%, 63.6%, 0%, 19.2%)
CIE-LABlab(43.48, 47.80, -61.29)
CIE-LCHlch(43.48, 77.72, 307.95°)
OKLaboklab(53.34% 0.0809 -0.1749)
OKLCHoklch(53.34% 0.193 294.8)
XYZxyz(21.3994, 13.4809, 59.8552)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784BCE #A1CE4B
analogous
#4B5FCE #784BCE #BA4BCE
triadic
#784BCE #CE784B #4BCE78
tetradic
#784BCE #CE4B5F #A1CE4B #4BCEBA
square
#784BCE #CE4B5F #A1CE4B #4BCEBA
split-complementary
#784BCE #CEBA4B #5FCE4B
monochromatic
#41227D #5A2FAD #784BCE #9C7BDB #C0ABE8

Accessibility & contrast

On white

5.68
#784BCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#784BCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784BCE
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784BCE#FFFFFF#000000##FFFFFF
##784BCE1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D2
Deuteranopia (green-blind)
#0065CB
Tritanopia (blue-blind)
#616986
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #784bce;
/* rgb */ color: rgb(120, 75, 206);
/* oklch */ color: oklch(53.3% 0.193 294.8);
Tailwind
colors: {
  custom: {
    50: '#a580de',
    500: '#784bce',
    950: '#000000',
  },
}
SCSS
$custom: #784bce;
$custom-light: #a580de;
$custom-dark: #000000;
JSON
{
  "hex": "#784bce",
  "rgb": {
    "r": 120,
    "g": 75,
    "b": 206
  },
  "hsl": {
    "h": 260.611,
    "s": 57.205,
    "l": 55.098
  },
  "oklch": {
    "l": 0.53336,
    "c": 0.19267,
    "h": 294.8
  },
  "luminance": 0.13481
}

Semantic roles & 50–950 ramp

primary
#784BCE
secondary
#C3D69F
accent
#E047AC
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #784BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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