#784FFD#784FFD

#784FFD is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.6% C 0.243 H 286.9°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#784FFD
RGBrgb(120, 79, 253)
HSLhsl(254, 98%, 65%)
HSVhsv(254, 69%, 99%)
CMYKcmyk(52.6%, 68.8%, 0%, 0.8%)
CIE-LABlab(47.85, 58.53, -80.78)
CIE-LCHlch(47.85, 99.76, 305.93°)
OKLaboklab(57.6% 0.0706 -0.2322)
OKLCHoklch(57.6% 0.243 286.9)
XYZxyz(28.2661, 16.6754, 94.6387)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784FFD #D4FD4F
analogous
#4F7DFD #784FFD #CF4FFD
triadic
#784FFD #FD784F #4FFD78
tetradic
#784FFD #FD4F7D #D4FD4F #4FFDCF
square
#784FFD #FD4F7D #D4FD4F #4FFDCF
split-complementary
#784FFD #FDCF4F #7DFD4F
monochromatic
#3302CF #4A12FC #784FFD #A68CFE #D5C8FE

Accessibility & contrast

On white

4.84
#784FFD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#784FFD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784FFD
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784FFD#FFFFFF#000000##FFFFFF
##784FFD1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076FF
Deuteranopia (green-blind)
#006DFA
Tritanopia (blue-blind)
#427CA0
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #784ffd;
/* rgb */ color: rgb(120, 79, 253);
/* oklch */ color: oklch(57.6% 0.243 286.9);
Tailwind
colors: {
  custom: {
    50: '#aa83ff',
    500: '#784ffd',
    950: '#000000',
  },
}
SCSS
$custom: #784ffd;
$custom-light: #aa83ff;
$custom-dark: #000000;
JSON
{
  "hex": "#784ffd",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 253
  },
  "hsl": {
    "h": 254.138,
    "s": 97.753,
    "l": 65.098
  },
  "oklch": {
    "l": 0.57598,
    "c": 0.24267,
    "h": 286.9
  },
  "luminance": 0.16677
}

Semantic roles & 50–950 ramp

primary
#784FFD
secondary
#E3F1B6
accent
#E600AF
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #784FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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