#784BBD#784BBD

#784BBD is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.1% C 0.172 H 298.4°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#784BBD
RGBrgb(120, 75, 189)
HSLhsl(264, 46%, 52%)
HSVhsv(264, 60%, 74%)
CMYKcmyk(36.5%, 60.3%, 0%, 25.9%)
CIE-LABlab(42.31, 43.30, -53.32)
CIE-LCHlch(42.31, 68.68, 309.08°)
OKLaboklab(52.11% 0.0819 -0.1515)
OKLCHoklch(52.11% 0.172 298.4)
XYZxyz(19.4448, 12.6991, 49.5610)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784BBD #90BD4B
analogous
#4B57BD #784BBD #B14BBD
triadic
#784BBD #BD784B #4BBD78
tetradic
#784BBD #BD4B57 #90BD4B #4BBDB1
square
#784BBD #BD4B57 #90BD4B #4BBDB1
split-complementary
#784BBD #BDB14B #57BD4B
monochromatic
#402668 #5C3694 #784BBD #9A78CD #BBA5DE

Accessibility & contrast

On white

5.93
#784BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#784BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784BBD
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784BBD#FFFFFF#000000##FFFFFF
##784BBD1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#1F63BA
Tritanopia (blue-blind)
#68637D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #784bbd;
/* rgb */ color: rgb(120, 75, 189);
/* oklch */ color: oklch(52.1% 0.172 298.4);
Tailwind
colors: {
  custom: {
    50: '#a37fd2',
    500: '#784bbd',
    950: '#000000',
  },
}
SCSS
$custom: #784bbd;
$custom-light: #a37fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#784bbd",
  "rgb": {
    "r": 120,
    "g": 75,
    "b": 189
  },
  "hsl": {
    "h": 263.684,
    "s": 46.341,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52111,
    "c": 0.1722,
    "h": 298.4
  },
  "luminance": 0.12699
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #784BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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