#784CBD#784CBD

#784CBD is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.3% C 0.171 H 298.2°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#784CBD
RGBrgb(120, 76, 189)
HSLhsl(263, 46%, 52%)
HSVhsv(263, 60%, 74%)
CMYKcmyk(36.5%, 59.8%, 0%, 25.9%)
CIE-LABlab(42.51, 42.74, -52.98)
CIE-LCHlch(42.51, 68.08, 308.89°)
OKLaboklab(52.26% 0.0807 -0.1505)
OKLCHoklch(52.26% 0.171 298.2)
XYZxyz(19.5132, 12.8358, 49.5838)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784CBD #91BD4C
analogous
#4C59BD #784CBD #B14CBD
triadic
#784CBD #BD784C #4CBD78
tetradic
#784CBD #BD4C59 #91BD4C #4CBDB1
square
#784CBD #BD4C59 #91BD4C #4CBDB1
split-complementary
#784CBD #BDB14C #59BD4C
monochromatic
#402668 #5C3795 #784CBD #9A79CD #BBA5DE

Accessibility & contrast

On white

5.89
#784CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#784CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784CBD
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784CBD#FFFFFF#000000##FFFFFF
##784CBD1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0165C1
Deuteranopia (green-blind)
#2163BA
Tritanopia (blue-blind)
#68647D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #784cbd;
/* rgb */ color: rgb(120, 76, 189);
/* oklch */ color: oklch(52.3% 0.171 298.2);
Tailwind
colors: {
  custom: {
    50: '#a380d2',
    500: '#784cbd',
    950: '#000000',
  },
}
SCSS
$custom: #784cbd;
$custom-light: #a380d2;
$custom-dark: #000000;
JSON
{
  "hex": "#784cbd",
  "rgb": {
    "r": 120,
    "g": 76,
    "b": 189
  },
  "hsl": {
    "h": 263.363,
    "s": 46.122,
    "l": 51.961
  },
  "oklch": {
    "l": 0.52263,
    "c": 0.17077,
    "h": 298.2
  },
  "luminance": 0.12836
}

Semantic roles & 50–950 ramp

primary
#784CBD
secondary
#B8CB9A
accent
#D652A2
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #784CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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