#784FBB#784FBB

#784FBB is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.6% C 0.164 H 298.1°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#784FBB
RGBrgb(120, 79, 187)
HSLhsl(263, 44%, 52%)
HSVhsv(263, 58%, 73%)
CMYKcmyk(35.8%, 57.8%, 0%, 26.7%)
CIE-LABlab(43.02, 40.54, -51.00)
CIE-LCHlch(43.02, 65.15, 308.48°)
OKLaboklab(52.59% 0.0771 -0.1446)
OKLCHoklch(52.59% 0.164 298.1)
XYZxyz(19.5091, 13.1726, 48.5188)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784FBB #92BB4F
analogous
#4F5CBB #784FBB #AE4FBB
triadic
#784FBB #BB784F #4FBB78
tetradic
#784FBB #BB4F5C #92BB4F #4FBBAE
square
#784FBB #BB4F5C #92BB4F #4FBBAE
split-complementary
#784FBB #BBAE4F #5CBB4F
monochromatic
#402868 #5B3994 #784FBB #9A7BCC #BCA7DD

Accessibility & contrast

On white

5.78
#784FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#784FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784FBB
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784FBB#FFFFFF#000000##FFFFFF
##784FBB1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1866BF
Deuteranopia (green-blind)
#2A64B9
Tritanopia (blue-blind)
#69657D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #784fbb;
/* rgb */ color: rgb(120, 79, 187);
/* oklch */ color: oklch(52.6% 0.164 298.1);
Tailwind
colors: {
  custom: {
    50: '#a382d0',
    500: '#784fbb',
    950: '#000000',
  },
}
SCSS
$custom: #784fbb;
$custom-light: #a382d0;
$custom-dark: #000000;
JSON
{
  "hex": "#784fbb",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 187
  },
  "hsl": {
    "h": 262.778,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52593,
    "c": 0.16391,
    "h": 298.1
  },
  "luminance": 0.13173
}

Semantic roles & 50–950 ramp

primary
#784FBB
secondary
#B9CA9B
accent
#D454A3
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #784FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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