#784BBF#784BBF

#784BBF is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.3% C 0.175 H 298.0°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#784BBF
RGBrgb(120, 75, 191)
HSLhsl(263, 48%, 52%)
HSVhsv(263, 61%, 75%)
CMYKcmyk(37.2%, 60.7%, 0%, 25.1%)
CIE-LABlab(42.44, 43.82, -54.27)
CIE-LCHlch(42.44, 69.75, 308.92°)
OKLaboklab(52.25% 0.0819 -0.1543)
OKLCHoklch(52.25% 0.175 298)
XYZxyz(19.6634, 12.7865, 50.7122)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784BBF #92BF4B
analogous
#4B58BF #784BBF #B24BBF
triadic
#784BBF #BF784B #4BBF78
tetradic
#784BBF #BF4B58 #92BF4B #4BBFB2
square
#784BBF #BF4B58 #92BF4B #4BBFB2
split-complementary
#784BBF #BFB24B #58BF4B
monochromatic
#40266A #5B3697 #784BBF #9A78CF #BCA5DF

Accessibility & contrast

On white

5.90
#784BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#784BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784BBF
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784BBF#FFFFFF#000000##FFFFFF
##784BBF1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#1B63BC
Tritanopia (blue-blind)
#68647E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #784bbf;
/* rgb */ color: rgb(120, 75, 191);
/* oklch */ color: oklch(52.3% 0.175 298.0);
Tailwind
colors: {
  custom: {
    50: '#a47fd3',
    500: '#784bbf',
    950: '#000000',
  },
}
SCSS
$custom: #784bbf;
$custom-light: #a47fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#784bbf",
  "rgb": {
    "r": 120,
    "g": 75,
    "b": 191
  },
  "hsl": {
    "h": 263.276,
    "s": 47.541,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52251,
    "c": 0.17463,
    "h": 298
  },
  "luminance": 0.12787
}

Semantic roles & 50–950 ramp

primary
#784BBF
secondary
#B9CC9A
accent
#D751A3
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #784BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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