#784BDA#784BDA

#784BDA is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.2% C 0.207 H 292.6°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#784BDA
RGBrgb(120, 75, 218)
HSLhsl(259, 66%, 57%)
HSVhsv(259, 66%, 85%)
CMYKcmyk(45%, 65.6%, 0%, 14.5%)
CIE-LABlab(44.36, 51.03, -66.75)
CIE-LCHlch(44.36, 84.02, 307.40°)
OKLaboklab(54.25% 0.0796 -0.1909)
OKLCHoklch(54.25% 0.207 292.6)
XYZxyz(22.9132, 14.0865, 67.8278)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784BDA #ADDA4B
analogous
#4B66DA #784BDA #C04BDA
triadic
#784BDA #DA784B #4BDA78
tetradic
#784BDA #DA4B66 #ADDA4B #4BDAC0
square
#784BDA #DA4B66 #ADDA4B #4BDAC0
split-complementary
#784BDA #DAC04B #66DA4B
monochromatic
#401D8E #5828C0 #784BDA #9E7EE4 #C4B1EF

Accessibility & contrast

On white

5.50
#784BDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#784BDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784BDA
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784BDA#FFFFFF#000000##FFFFFF
##784BDA1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDE
Deuteranopia (green-blind)
#0066D7
Tritanopia (blue-blind)
#5B6D8C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #784bda;
/* rgb */ color: rgb(120, 75, 218);
/* oklch */ color: oklch(54.2% 0.207 292.6);
Tailwind
colors: {
  custom: {
    50: '#a680e6',
    500: '#784bda',
    950: '#000000',
  },
}
SCSS
$custom: #784bda;
$custom-light: #a680e6;
$custom-dark: #000000;
JSON
{
  "hex": "#784bda",
  "rgb": {
    "r": 120,
    "g": 75,
    "b": 218
  },
  "hsl": {
    "h": 258.881,
    "s": 65.899,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54245,
    "c": 0.20685,
    "h": 292.6
  },
  "luminance": 0.14087
}

Semantic roles & 50–950 ramp

primary
#784BDA
secondary
#CBDDA4
accent
#E93FB3
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #784BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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