#784EBE#784EBE

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

Color values

HEX#784EBE
RGBrgb(120, 78, 190)
HSLhsl(263, 46%, 53%)
HSVhsv(263, 59%, 75%)
CMYKcmyk(36.8%, 58.9%, 0%, 25.5%)
CIE-LABlab(43.00, 41.89, -52.78)
CIE-LCHlch(43.00, 67.38, 308.44°)
OKLaboklab(52.64% 0.0783 -0.1499)
OKLCHoklch(52.64% 0.169 297.6)
XYZxyz(19.7620, 13.1593, 50.2040)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784EBE #94BE4E
analogous
#4E5CBE #784EBE #B04EBE
triadic
#784EBE #BE784E #4EBE78
tetradic
#784EBE #BE4E5C #94BE4E #4EBEB0
square
#784EBE #BE4E5C #94BE4E #4EBEB0
split-complementary
#784EBE #BEB04E #5CBE4E
monochromatic
#40276A #5B3897 #784EBE #9A7BCE #BCA8DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##784EBE#FFFFFF#000000##FFFFFF
##784EBE1.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)
#0B66C2
Deuteranopia (green-blind)
#2364BC
Tritanopia (blue-blind)
#68667E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #784ebe;
/* rgb */ color: rgb(120, 78, 190);
/* oklch */ color: oklch(52.6% 0.169 297.6);
Tailwind
colors: {
  custom: {
    50: '#a381d2',
    500: '#784ebe',
    950: '#000000',
  },
}
SCSS
$custom: #784ebe;
$custom-light: #a381d2;
$custom-dark: #000000;
JSON
{
  "hex": "#784ebe",
  "rgb": {
    "r": 120,
    "g": 78,
    "b": 190
  },
  "hsl": {
    "h": 262.5,
    "s": 46.281,
    "l": 52.549
  },
  "oklch": {
    "l": 0.52641,
    "c": 0.1691,
    "h": 297.6
  },
  "luminance": 0.1316
}

Semantic roles & 50–950 ramp

primary
#784EBE
secondary
#BACC9C
accent
#D652A4
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #784EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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