#784FFF#784FFF

#784FFF is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.8% C 0.245 H 286.7°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#784FFF
RGBrgb(120, 79, 255)
HSLhsl(254, 100%, 65%)
HSVhsv(254, 69%, 100%)
CMYKcmyk(52.9%, 69%, 0%, 0%)
CIE-LABlab(48.01, 59.09, -81.63)
CIE-LCHlch(48.01, 100.77, 305.90°)
OKLaboklab(57.76% 0.0702 -0.2347)
OKLCHoklch(57.76% 0.245 286.7)
XYZxyz(28.5863, 16.8035, 96.3255)
Luminance0.1681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784FFF #D6FF4F
analogous
#4F7EFF #784FFF #D04FFF
triadic
#784FFF #FF784F #4FFF78
tetradic
#784FFF #FF4F7E #D6FF4F #4FFFD0
square
#784FFF #FF4F7E #D6FF4F #4FFFD0
split-complementary
#784FFF #FFD04F #7EFF4F
monochromatic
#3100D4 #4912FF #784FFF #A78CFF #D6C9FF

Accessibility & contrast

On white

4.82
#784FFF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#784FFF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784FFF
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784FFF#FFFFFF#000000##FFFFFF
##784FFF1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076FF
Deuteranopia (green-blind)
#006DFC
Tritanopia (blue-blind)
#407DA1
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #784fff;
/* rgb */ color: rgb(120, 79, 255);
/* oklch */ color: oklch(57.8% 0.245 286.7);
Tailwind
colors: {
  custom: {
    50: '#ab84ff',
    500: '#784fff',
    950: '#000000',
  },
}
SCSS
$custom: #784fff;
$custom-light: #ab84ff;
$custom-dark: #000000;
JSON
{
  "hex": "#784fff",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 255
  },
  "hsl": {
    "h": 253.977,
    "s": 100,
    "l": 65.49
  },
  "oklch": {
    "l": 0.57764,
    "c": 0.24495,
    "h": 286.7
  },
  "luminance": 0.16805
}

Semantic roles & 50–950 ramp

primary
#784FFF
secondary
#E5F2B7
accent
#E600B0
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #784FFF

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

Preview Lab → · Contrast checker → · Palette generator →

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