#784CBB#784CBB

#784CBB is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.1% C 0.168 H 298.7°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#784CBB
RGBrgb(120, 76, 187)
HSLhsl(264, 45%, 52%)
HSVhsv(264, 59%, 73%)
CMYKcmyk(35.8%, 59.4%, 0%, 26.7%)
CIE-LABlab(42.38, 42.22, -52.03)
CIE-LCHlch(42.38, 67.00, 309.06°)
OKLaboklab(52.13% 0.0808 -0.1477)
OKLCHoklch(52.13% 0.168 298.7)
XYZxyz(19.2976, 12.7496, 48.4483)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784CBB #8FBB4C
analogous
#4C58BB #784CBB #B04CBB
triadic
#784CBB #BB784C #4CBB78
tetradic
#784CBB #BB4C58 #8FBB4C #4CBBB0
square
#784CBB #BB4C58 #8FBB4C #4CBBB0
split-complementary
#784CBB #BBB04C #58BB4C
monochromatic
#402766 #5C3892 #784CBB #9978CC #BBA5DD

Accessibility & contrast

On white

5.92
#784CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#784CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784CBB
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784CBB#FFFFFF#000000##FFFFFF
##784CBB1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0964BF
Deuteranopia (green-blind)
#2463B9
Tritanopia (blue-blind)
#69637C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #784cbb;
/* rgb */ color: rgb(120, 76, 187);
/* oklch */ color: oklch(52.1% 0.168 298.7);
Tailwind
colors: {
  custom: {
    50: '#a380d0',
    500: '#784cbb',
    950: '#000000',
  },
}
SCSS
$custom: #784cbb;
$custom-light: #a380d0;
$custom-dark: #000000;
JSON
{
  "hex": "#784cbb",
  "rgb": {
    "r": 120,
    "g": 76,
    "b": 187
  },
  "hsl": {
    "h": 263.784,
    "s": 44.939,
    "l": 51.569
  },
  "oklch": {
    "l": 0.52125,
    "c": 0.16831,
    "h": 298.7
  },
  "luminance": 0.1275
}

Semantic roles & 50–950 ramp

primary
#784CBB
secondary
#B6CA99
accent
#D553A1
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #784CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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