#784EBF#784EBF

#784EBF is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.7% C 0.170 H 297.4°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#784EBF
RGBrgb(120, 78, 191)
HSLhsl(262, 47%, 53%)
HSVhsv(262, 59%, 75%)
CMYKcmyk(37.2%, 59.2%, 0%, 25.1%)
CIE-LABlab(43.07, 42.16, -53.26)
CIE-LCHlch(43.07, 67.92, 308.36°)
OKLaboklab(52.71% 0.0783 -0.1513)
OKLCHoklch(52.71% 0.17 297.4)
XYZxyz(19.8717, 13.2031, 50.7816)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784EBF #95BF4E
analogous
#4E5CBF #784EBF #B14EBF
triadic
#784EBF #BF784E #4EBF78
tetradic
#784EBF #BF4E5C #95BF4E #4EBFB1
square
#784EBF #BF4E5C #95BF4E #4EBFB1
split-complementary
#784EBF #BFB14E #5CBF4E
monochromatic
#40276C #5B3799 #784EBF #9A7BCF #BDA8E0

Accessibility & contrast

On white

5.77
#784EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#784EBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784EBF
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784EBF#FFFFFF#000000##FFFFFF
##784EBF1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0766C3
Deuteranopia (green-blind)
#2264BC
Tritanopia (blue-blind)
#67667F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #784ebf;
/* rgb */ color: rgb(120, 78, 191);
/* oklch */ color: oklch(52.7% 0.170 297.4);
Tailwind
colors: {
  custom: {
    50: '#a381d3',
    500: '#784ebf',
    950: '#000000',
  },
}
SCSS
$custom: #784ebf;
$custom-light: #a381d3;
$custom-dark: #000000;
JSON
{
  "hex": "#784ebf",
  "rgb": {
    "r": 120,
    "g": 78,
    "b": 191
  },
  "hsl": {
    "h": 262.301,
    "s": 46.888,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5271,
    "c": 0.17033,
    "h": 297.4
  },
  "luminance": 0.13203
}

Semantic roles & 50–950 ramp

primary
#784EBF
secondary
#BBCD9C
accent
#D751A5
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #784EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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