#784CBE#784CBE

#784CBE is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.3% C 0.172 H 298.0°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#784CBE
RGBrgb(120, 76, 190)
HSLhsl(263, 47%, 52%)
HSVhsv(263, 60%, 75%)
CMYKcmyk(36.8%, 60%, 0%, 25.5%)
CIE-LABlab(42.58, 43.01, -53.46)
CIE-LCHlch(42.58, 68.61, 308.81°)
OKLaboklab(52.33% 0.0807 -0.1519)
OKLCHoklch(52.33% 0.172 298)
XYZxyz(19.6221, 12.8794, 50.1574)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784CBE #92BE4C
analogous
#4C59BE #784CBE #B14CBE
triadic
#784CBE #BE784C #4CBE78
tetradic
#784CBE #BE4C59 #92BE4C #4CBEB1
square
#784CBE #BE4C59 #92BE4C #4CBEB1
split-complementary
#784CBE #BEB14C #59BE4C
monochromatic
#402669 #5B3796 #784CBE #9A79CE #BCA6DF

Accessibility & contrast

On white

5.87
#784CBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#784CBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784CBE
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784CBE#FFFFFF#000000##FFFFFF
##784CBE1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C2
Deuteranopia (green-blind)
#1F63BB
Tritanopia (blue-blind)
#68647E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #784cbe;
/* rgb */ color: rgb(120, 76, 190);
/* oklch */ color: oklch(52.3% 0.172 298.0);
Tailwind
colors: {
  custom: {
    50: '#a380d2',
    500: '#784cbe',
    950: '#000000',
  },
}
SCSS
$custom: #784cbe;
$custom-light: #a380d2;
$custom-dark: #000000;
JSON
{
  "hex": "#784cbe",
  "rgb": {
    "r": 120,
    "g": 76,
    "b": 190
  },
  "hsl": {
    "h": 263.158,
    "s": 46.721,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52333,
    "c": 0.17199,
    "h": 298
  },
  "luminance": 0.1288
}

Semantic roles & 50–950 ramp

primary
#784CBE
secondary
#B9CC9A
accent
#D651A3
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #784CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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