#784FDF#784FDF

#784FDF is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.2% C 0.208 H 291.1°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#784FDF
RGBrgb(120, 79, 223)
HSLhsl(257, 69%, 59%)
HSVhsv(257, 65%, 87%)
CMYKcmyk(46.2%, 64.6%, 0%, 12.5%)
CIE-LABlab(45.51, 50.26, -67.72)
CIE-LCHlch(45.51, 84.33, 306.58°)
OKLaboklab(55.2% 0.0749 -0.1938)
OKLCHoklch(55.2% 0.208 291.1)
XYZxyz(23.8573, 14.9119, 71.4190)
Luminance0.1491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784FDF #B6DF4F
analogous
#4F6EDF #784FDF #C04FDF
triadic
#784FDF #DF784F #4FDF78
tetradic
#784FDF #DF4F6E #B6DF4F #4FDFC0
square
#784FDF #DF4F6E #B6DF4F #4FDFC0
split-complementary
#784FDF #DFC04F #6EDF4F
monochromatic
#3F1C98 #5525CC #784FDF #A083E8 #C7B7F2

Accessibility & contrast

On white

5.27
#784FDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#784FDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784FDF
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784FDF#FFFFFF#000000##FFFFFF
##784FDF1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE3
Deuteranopia (green-blind)
#0069DC
Tritanopia (blue-blind)
#587290
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #784fdf;
/* rgb */ color: rgb(120, 79, 223);
/* oklch */ color: oklch(55.2% 0.208 291.1);
Tailwind
colors: {
  custom: {
    50: '#a783ea',
    500: '#784fdf',
    950: '#000000',
  },
}
SCSS
$custom: #784fdf;
$custom-light: #a783ea;
$custom-dark: #000000;
JSON
{
  "hex": "#784fdf",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 223
  },
  "hsl": {
    "h": 257.083,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.55196,
    "c": 0.20778,
    "h": 291.1
  },
  "luminance": 0.14913
}

Semantic roles & 50–950 ramp

primary
#784FDF
secondary
#D1E1A9
accent
#EC3CBA
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #784FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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