#784DFF#784DFF

#784DFF is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.5% C 0.247 H 286.9°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#784DFF
RGBrgb(120, 77, 255)
HSLhsl(254, 100%, 65%)
HSVhsv(254, 70%, 100%)
CMYKcmyk(52.9%, 69.8%, 0%, 0%)
CIE-LABlab(47.65, 60.10, -82.22)
CIE-LCHlch(47.65, 101.84, 306.16°)
OKLaboklab(57.51% 0.0719 -0.2364)
OKLCHoklch(57.51% 0.247 286.9)
XYZxyz(28.4442, 16.5193, 96.2781)
Luminance0.1652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784DFF #D4FF4D
analogous
#4D7BFF #784DFF #D14DFF
triadic
#784DFF #FF784D #4DFF78
tetradic
#784DFF #FF4D7B #D4FF4D #4DFFD1
square
#784DFF #FF4D7B #D4FF4D #4DFFD1
split-complementary
#784DFF #FFD14D #7BFF4D
monochromatic
#3300D2 #4A10FF #784DFF #A68AFF #D5C7FF

Accessibility & contrast

On white

4.88
#784DFF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#784DFF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784DFF
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784DFF#FFFFFF#000000##FFFFFF
##784DFF1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075FF
Deuteranopia (green-blind)
#006CFC
Tritanopia (blue-blind)
#407CA1
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #784dff;
/* rgb */ color: rgb(120, 77, 255);
/* oklch */ color: oklch(57.5% 0.247 286.9);
Tailwind
colors: {
  custom: {
    50: '#ab82ff',
    500: '#784dff',
    950: '#000000',
  },
}
SCSS
$custom: #784dff;
$custom-light: #ab82ff;
$custom-dark: #000000;
JSON
{
  "hex": "#784dff",
  "rgb": {
    "r": 120,
    "g": 77,
    "b": 255
  },
  "hsl": {
    "h": 254.494,
    "s": 100,
    "l": 65.098
  },
  "oklch": {
    "l": 0.57506,
    "c": 0.24708,
    "h": 286.9
  },
  "luminance": 0.16521
}

Semantic roles & 50–950 ramp

primary
#784DFF
secondary
#E3F2B6
accent
#E600AE
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #784DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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