#784BBE#784BBE

#784BBE is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.2% C 0.173 H 298.2°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#784BBE
RGBrgb(120, 75, 190)
HSLhsl(263, 47%, 52%)
HSVhsv(263, 61%, 75%)
CMYKcmyk(36.8%, 60.5%, 0%, 25.5%)
CIE-LABlab(42.37, 43.56, -53.80)
CIE-LCHlch(42.37, 69.22, 309.00°)
OKLaboklab(52.18% 0.0819 -0.1529)
OKLCHoklch(52.18% 0.173 298.2)
XYZxyz(19.5537, 12.7427, 50.1346)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784BBE #91BE4B
analogous
#4B58BE #784BBE #B24BBE
triadic
#784BBE #BE784B #4BBE78
tetradic
#784BBE #BE4B58 #91BE4B #4BBEB2
square
#784BBE #BE4B58 #91BE4B #4BBEB2
split-complementary
#784BBE #BEB24B #58BE4B
monochromatic
#402669 #5C3696 #784BBE #9A78CE #BBA5DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##784BBE#FFFFFF#000000##FFFFFF
##784BBE1.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)
#0064C2
Deuteranopia (green-blind)
#1D63BB
Tritanopia (blue-blind)
#68647D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #784bbe;
/* rgb */ color: rgb(120, 75, 190);
/* oklch */ color: oklch(52.2% 0.173 298.2);
Tailwind
colors: {
  custom: {
    50: '#a37fd2',
    500: '#784bbe',
    950: '#000000',
  },
}
SCSS
$custom: #784bbe;
$custom-light: #a37fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#784bbe",
  "rgb": {
    "r": 120,
    "g": 75,
    "b": 190
  },
  "hsl": {
    "h": 263.478,
    "s": 46.939,
    "l": 51.961
  },
  "oklch": {
    "l": 0.52181,
    "c": 0.17342,
    "h": 298.2
  },
  "luminance": 0.12743
}

Semantic roles & 50–950 ramp

primary
#784BBE
secondary
#B8CC99
accent
#D751A2
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #784BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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