#784FB0#784FB0

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

Color values

HEX#784FB0
RGBrgb(120, 79, 176)
HSLhsl(265, 38%, 50%)
HSVhsv(265, 55%, 69%)
CMYKcmyk(31.8%, 55.1%, 0%, 31%)
CIE-LABlab(42.34, 37.66, -45.64)
CIE-LCHlch(42.34, 59.18, 309.53°)
OKLaboklab(51.87% 0.0769 -0.1289)
OKLCHoklch(51.87% 0.15 300.8)
XYZxyz(18.3763, 12.7195, 42.5529)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784FB0 #87B04F
analogous
#4F56B0 #784FB0 #A94FB0
triadic
#784FB0 #B0784F #4FB078
tetradic
#784FB0 #B04F56 #87B04F #4FB0A9
square
#784FB0 #B04F56 #87B04F #4FB0A9
split-complementary
#784FB0 #B0A94F #56B04F
monochromatic
#3E295C #5B3C86 #784FB0 #9879C3 #B9A3D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##784FB0#FFFFFF#000000##FFFFFF
##784FB01.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)
#2963B3
Deuteranopia (green-blind)
#3663AE
Tritanopia (blue-blind)
#6D6278
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #784fb0;
/* rgb */ color: rgb(120, 79, 176);
/* oklch */ color: oklch(51.9% 0.150 300.8);
Tailwind
colors: {
  custom: {
    50: '#a282c8',
    500: '#784fb0',
    950: '#000000',
  },
}
SCSS
$custom: #784fb0;
$custom-light: #a282c8;
$custom-dark: #000000;
JSON
{
  "hex": "#784fb0",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 176
  },
  "hsl": {
    "h": 265.361,
    "s": 38.039,
    "l": 50
  },
  "oklch": {
    "l": 0.5187,
    "c": 0.1501,
    "h": 300.8
  },
  "luminance": 0.1272
}

Semantic roles & 50–950 ramp

primary
#784FB0
secondary
#B1C398
accent
#CE5A9D
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #784FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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