#784FB1#784FB1

#784FB1 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 51.9% C 0.151 H 300.5°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#784FB1
RGBrgb(120, 79, 177)
HSLhsl(265, 39%, 50%)
HSVhsv(265, 55%, 69%)
CMYKcmyk(32.2%, 55.4%, 0%, 30.6%)
CIE-LABlab(42.40, 37.92, -46.13)
CIE-LCHlch(42.40, 59.72, 309.42°)
OKLaboklab(51.93% 0.0769 -0.1304)
OKLCHoklch(51.93% 0.151 300.5)
XYZxyz(18.4756, 12.7593, 43.0759)
Luminance0.1276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784FB1 #88B14F
analogous
#4F57B1 #784FB1 #A94FB1
triadic
#784FB1 #B1784F #4FB178
tetradic
#784FB1 #B14F57 #88B14F #4FB1A9
square
#784FB1 #B14F57 #88B14F #4FB1A9
split-complementary
#784FB1 #B1A94F #57B14F
monochromatic
#3F295D #5B3C87 #784FB1 #9979C4 #B9A4D7

Accessibility & contrast

On white

5.91
#784FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #784FB1
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784FB1#FFFFFF#000000##FFFFFF
##784FB11.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2864B4
Deuteranopia (green-blind)
#3563AF
Tritanopia (blue-blind)
#6C6278
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #784fb1;
/* rgb */ color: rgb(120, 79, 177);
/* oklch */ color: oklch(51.9% 0.151 300.5);
Tailwind
colors: {
  custom: {
    50: '#a282c9',
    500: '#784fb1',
    950: '#000000',
  },
}
SCSS
$custom: #784fb1;
$custom-light: #a282c9;
$custom-dark: #000000;
JSON
{
  "hex": "#784fb1",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 177
  },
  "hsl": {
    "h": 265.102,
    "s": 38.583,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51934,
    "c": 0.15136,
    "h": 300.5
  },
  "luminance": 0.12759
}

Semantic roles & 50–950 ramp

primary
#784FB1
secondary
#B1C498
accent
#CF599D
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #784FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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