#784CBF#784CBF

#784CBF is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.4% C 0.173 H 297.8°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#784CBF
RGBrgb(120, 76, 191)
HSLhsl(263, 47%, 52%)
HSVhsv(263, 60%, 75%)
CMYKcmyk(37.2%, 60.2%, 0%, 25.1%)
CIE-LABlab(42.65, 43.27, -53.94)
CIE-LCHlch(42.65, 69.15, 308.74°)
OKLaboklab(52.4% 0.0807 -0.1533)
OKLCHoklch(52.4% 0.173 297.8)
XYZxyz(19.7318, 12.9233, 50.7350)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784CBF #93BF4C
analogous
#4C59BF #784CBF #B24CBF
triadic
#784CBF #BF784C #4CBF78
tetradic
#784CBF #BF4C59 #93BF4C #4CBFB2
square
#784CBF #BF4C59 #93BF4C #4CBFB2
split-complementary
#784CBF #BFB24C #59BF4C
monochromatic
#40266B #5B3698 #784CBF #9A79CF #BCA6DF

Accessibility & contrast

On white

5.86
#784CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#784CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784CBF
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784CBF#FFFFFF#000000##FFFFFF
##784CBF1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#1D63BC
Tritanopia (blue-blind)
#68657E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #784cbf;
/* rgb */ color: rgb(120, 76, 191);
/* oklch */ color: oklch(52.4% 0.173 297.8);
Tailwind
colors: {
  custom: {
    50: '#a480d3',
    500: '#784cbf',
    950: '#000000',
  },
}
SCSS
$custom: #784cbf;
$custom-light: #a480d3;
$custom-dark: #000000;
JSON
{
  "hex": "#784cbf",
  "rgb": {
    "r": 120,
    "g": 76,
    "b": 191
  },
  "hsl": {
    "h": 262.957,
    "s": 47.325,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52402,
    "c": 0.17321,
    "h": 297.8
  },
  "luminance": 0.12924
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #784CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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