#784BD5#784BD5

#784BD5 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 53.9% C 0.201 H 293.5°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#784BD5
RGBrgb(120, 75, 213)
HSLhsl(260, 62%, 56%)
HSVhsv(260, 65%, 84%)
CMYKcmyk(43.7%, 64.8%, 0%, 16.5%)
CIE-LABlab(43.99, 49.68, -64.49)
CIE-LCHlch(43.99, 81.40, 307.61°)
OKLaboklab(53.86% 0.0802 -0.1843)
OKLCHoklch(53.86% 0.201 293.5)
XYZxyz(22.2688, 13.8287, 64.4338)
Luminance0.1383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784BD5 #A8D54B
analogous
#4B63D5 #784BD5 #BD4BD5
triadic
#784BD5 #D5784B #4BD578
tetradic
#784BD5 #D54B63 #A8D54B #4BD5BD
square
#784BD5 #D54B63 #A8D54B #4BD5BD
split-complementary
#784BD5 #D5BD4B #63D54B
monochromatic
#411F86 #592BB8 #784BD5 #9D7DE1 #C2AEEC

Accessibility & contrast

On white

5.58
#784BD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#784BD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784BD5
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784BD5#FFFFFF#000000##FFFFFF
##784BD51.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD9
Deuteranopia (green-blind)
#0065D2
Tritanopia (blue-blind)
#5E6C89
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #784bd5;
/* rgb */ color: rgb(120, 75, 213);
/* oklch */ color: oklch(53.9% 0.201 293.5);
Tailwind
colors: {
  custom: {
    50: '#a680e3',
    500: '#784bd5',
    950: '#000000',
  },
}
SCSS
$custom: #784bd5;
$custom-light: #a680e3;
$custom-dark: #000000;
JSON
{
  "hex": "#784bd5",
  "rgb": {
    "r": 120,
    "g": 75,
    "b": 213
  },
  "hsl": {
    "h": 259.565,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.53862,
    "c": 0.20097,
    "h": 293.5
  },
  "luminance": 0.13829
}

Semantic roles & 50–950 ramp

primary
#784BD5
secondary
#C8DAA2
accent
#E543B0
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #784BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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