#784DE0#784DE0

#784DE0 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.0% C 0.211 H 291.3°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#784DE0
RGBrgb(120, 77, 224)
HSLhsl(258, 70%, 59%)
HSVhsv(258, 66%, 88%)
CMYKcmyk(46.4%, 65.6%, 0%, 12.2%)
CIE-LABlab(45.20, 51.60, -68.80)
CIE-LCHlch(45.20, 86.00, 306.87°)
OKLaboklab(54.99% 0.0768 -0.197)
OKLCHoklch(54.99% 0.211 291.3)
XYZxyz(23.8504, 14.6818, 72.0838)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784DE0 #B5E04D
analogous
#4D6CE0 #784DE0 #C24DE0
triadic
#784DE0 #E0784D #4DE078
tetradic
#784DE0 #E04D6C #B5E04D #4DE0C2
square
#784DE0 #E04D6C #B5E04D #4DE0C2
split-complementary
#784DE0 #E0C24D #6CE04D
monochromatic
#3F1A98 #5524CC #784DE0 #A081E9 #C7B5F2

Accessibility & contrast

On white

5.33
#784DE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#784DE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784DE0
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784DE0#FFFFFF#000000##FFFFFF
##784DE01.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE5
Deuteranopia (green-blind)
#0068DD
Tritanopia (blue-blind)
#587190
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #784de0;
/* rgb */ color: rgb(120, 77, 224);
/* oklch */ color: oklch(55.0% 0.211 291.3);
Tailwind
colors: {
  custom: {
    50: '#a781eb',
    500: '#784de0',
    950: '#000000',
  },
}
SCSS
$custom: #784de0;
$custom-light: #a781eb;
$custom-dark: #000000;
JSON
{
  "hex": "#784de0",
  "rgb": {
    "r": 120,
    "g": 77,
    "b": 224
  },
  "hsl": {
    "h": 257.551,
    "s": 70.335,
    "l": 59.02
  },
  "oklch": {
    "l": 0.5499,
    "c": 0.21144,
    "h": 291.3
  },
  "luminance": 0.14683
}

Semantic roles & 50–950 ramp

primary
#784DE0
secondary
#D0E1A8
accent
#ED3BB9
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #784DE0

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

Preview Lab → · Contrast checker → · Palette generator →

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