#784CE3#784CE3

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

Color values

HEX#784CE3
RGBrgb(120, 76, 227)
HSLhsl(257, 73%, 59%)
HSVhsv(257, 67%, 89%)
CMYKcmyk(47.1%, 66.5%, 0%, 11%)
CIE-LABlab(45.23, 52.94, -70.45)
CIE-LCHlch(45.23, 88.12, 306.93°)
OKLaboklab(55.09% 0.0774 -0.2018)
OKLCHoklch(55.09% 0.216 291)
XYZxyz(24.1914, 14.7071, 74.2223)
Luminance0.1471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784CE3 #B7E34C
analogous
#4C6CE3 #784CE3 #C34CE3
triadic
#784CE3 #E3784C #4CE378
tetradic
#784CE3 #E34C6C #B7E34C #4CE3C3
square
#784CE3 #E34C6C #B7E34C #4CE3C3
split-complementary
#784CE3 #E3C34C #6CE34C
monochromatic
#3F189C #5421D1 #784CE3 #A081EB #C8B6F4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##784CE3#FFFFFF#000000##FFFFFF
##784CE31.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)
#006EE8
Deuteranopia (green-blind)
#0068E0
Tritanopia (blue-blind)
#567191
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #784ce3;
/* rgb */ color: rgb(120, 76, 227);
/* oklch */ color: oklch(55.1% 0.216 291.0);
Tailwind
colors: {
  custom: {
    50: '#a781ed',
    500: '#784ce3',
    950: '#000000',
  },
}
SCSS
$custom: #784ce3;
$custom-light: #a781ed;
$custom-dark: #000000;
JSON
{
  "hex": "#784ce3",
  "rgb": {
    "r": 120,
    "g": 76,
    "b": 227
  },
  "hsl": {
    "h": 257.483,
    "s": 72.947,
    "l": 59.412
  },
  "oklch": {
    "l": 0.55086,
    "c": 0.21615,
    "h": 291
  },
  "luminance": 0.14708
}

Semantic roles & 50–950 ramp

primary
#784CE3
secondary
#D2E3A8
accent
#F038BA
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #784CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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