#784FBE#784FBE

#784FBE is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.8% C 0.168 H 297.4°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#784FBE
RGBrgb(120, 79, 190)
HSLhsl(262, 46%, 53%)
HSVhsv(262, 58%, 75%)
CMYKcmyk(36.8%, 58.4%, 0%, 25.5%)
CIE-LABlab(43.22, 41.33, -52.44)
CIE-LCHlch(43.22, 66.77, 308.24°)
OKLaboklab(52.8% 0.0771 -0.1489)
OKLCHoklch(52.8% 0.168 297.4)
XYZxyz(19.8336, 13.3024, 50.2279)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784FBE #95BE4F
analogous
#4F5EBE #784FBE #AF4FBE
triadic
#784FBE #BE784F #4FBE78
tetradic
#784FBE #BE4F5E #95BE4F #4FBEAF
square
#784FBE #BE4F5E #95BE4F #4FBEAF
split-complementary
#784FBE #BEAF4F #5EBE4F
monochromatic
#40286B #5B3898 #784FBE #9A7CCF #BDA8DF

Accessibility & contrast

On white

5.74
#784FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#784FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784FBE
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784FBE#FFFFFF#000000##FFFFFF
##784FBE1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1166C2
Deuteranopia (green-blind)
#2565BC
Tritanopia (blue-blind)
#68667F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #784fbe;
/* rgb */ color: rgb(120, 79, 190);
/* oklch */ color: oklch(52.8% 0.168 297.4);
Tailwind
colors: {
  custom: {
    50: '#a382d2',
    500: '#784fbe',
    950: '#000000',
  },
}
SCSS
$custom: #784fbe;
$custom-light: #a382d2;
$custom-dark: #000000;
JSON
{
  "hex": "#784fbe",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 190
  },
  "hsl": {
    "h": 262.162,
    "s": 46.058,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52797,
    "c": 0.16764,
    "h": 297.4
  },
  "luminance": 0.13303
}

Semantic roles & 50–950 ramp

primary
#784FBE
secondary
#BBCC9C
accent
#D652A5
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #784FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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