#784DDF#784DDF

#784DDF is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 54.9% C 0.210 H 291.5°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#784DDF
RGBrgb(120, 77, 223)
HSLhsl(258, 70%, 59%)
HSVhsv(258, 65%, 87%)
CMYKcmyk(46.2%, 65.5%, 0%, 12.5%)
CIE-LABlab(45.12, 51.33, -68.35)
CIE-LCHlch(45.12, 85.48, 306.90°)
OKLaboklab(54.91% 0.0769 -0.1957)
OKLCHoklch(54.91% 0.21 291.5)
XYZxyz(23.7152, 14.6277, 71.3716)
Luminance0.1463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784DDF #B4DF4D
analogous
#4D6BDF #784DDF #C14DDF
triadic
#784DDF #DF784D #4DDF78
tetradic
#784DDF #DF4D6B #B4DF4D #4DDFC1
square
#784DDF #DF4D6B #B4DF4D #4DDFC1
split-complementary
#784DDF #DFC14D #6BDF4D
monochromatic
#3F1B97 #5524CA #784DDF #9F81E8 #C7B5F2

Accessibility & contrast

On white

5.35
#784DDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#784DDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784DDF
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784DDF#FFFFFF#000000##FFFFFF
##784DDF1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE3
Deuteranopia (green-blind)
#0068DC
Tritanopia (blue-blind)
#58708F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #784ddf;
/* rgb */ color: rgb(120, 77, 223);
/* oklch */ color: oklch(54.9% 0.210 291.5);
Tailwind
colors: {
  custom: {
    50: '#a781ea',
    500: '#784ddf',
    950: '#000000',
  },
}
SCSS
$custom: #784ddf;
$custom-light: #a781ea;
$custom-dark: #000000;
JSON
{
  "hex": "#784ddf",
  "rgb": {
    "r": 120,
    "g": 77,
    "b": 223
  },
  "hsl": {
    "h": 257.671,
    "s": 69.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.54912,
    "c": 0.21025,
    "h": 291.5
  },
  "luminance": 0.14629
}

Semantic roles & 50–950 ramp

primary
#784DDF
secondary
#D0E1A7
accent
#EC3BB8
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #784DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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