#784BDE#784BDE

#784BDE is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.6% C 0.212 H 291.9°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#784BDE
RGBrgb(120, 75, 222)
HSLhsl(258, 69%, 58%)
HSVhsv(258, 66%, 87%)
CMYKcmyk(45.9%, 66.2%, 0%, 12.9%)
CIE-LABlab(44.66, 52.11, -68.54)
CIE-LCHlch(44.66, 86.10, 307.25°)
OKLaboklab(54.56% 0.079 -0.1962)
OKLCHoklch(54.56% 0.212 291.9)
XYZxyz(23.4429, 14.2984, 70.6178)
Luminance0.1430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784BDE #B1DE4B
analogous
#4B67DE #784BDE #C14BDE
triadic
#784BDE #DE784B #4BDE78
tetradic
#784BDE #DE4B67 #B1DE4B #4BDEC1
square
#784BDE #DE4B67 #B1DE4B #4BDEC1
split-complementary
#784BDE #DEC14B #67DE4B
monochromatic
#401B94 #5625C7 #784BDE #9F7FE7 #C6B2F1

Accessibility & contrast

On white

5.44
#784BDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#784BDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784BDE
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784BDE#FFFFFF#000000##FFFFFF
##784BDE1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE2
Deuteranopia (green-blind)
#0067DB
Tritanopia (blue-blind)
#596F8E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #784bde;
/* rgb */ color: rgb(120, 75, 222);
/* oklch */ color: oklch(54.6% 0.212 291.9);
Tailwind
colors: {
  custom: {
    50: '#a780e9',
    500: '#784bde',
    950: '#000000',
  },
}
SCSS
$custom: #784bde;
$custom-light: #a780e9;
$custom-dark: #000000;
JSON
{
  "hex": "#784bde",
  "rgb": {
    "r": 120,
    "g": 75,
    "b": 222
  },
  "hsl": {
    "h": 258.367,
    "s": 69.014,
    "l": 58.235
  },
  "oklch": {
    "l": 0.54556,
    "c": 0.21153,
    "h": 291.9
  },
  "luminance": 0.14299
}

Semantic roles & 50–950 ramp

primary
#784BDE
secondary
#CEE0A5
accent
#EC3CB6
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #784BDE

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

Preview Lab → · Contrast checker → · Palette generator →

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