#784FE3#784FE3

#784FE3 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.5% C 0.213 H 290.5°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#784FE3
RGBrgb(120, 79, 227)
HSLhsl(257, 73%, 60%)
HSVhsv(257, 65%, 89%)
CMYKcmyk(47.1%, 65.2%, 0%, 11%)
CIE-LABlab(45.81, 51.36, -69.50)
CIE-LCHlch(45.81, 86.42, 306.46°)
OKLaboklab(55.51% 0.0745 -0.199)
OKLCHoklch(55.51% 0.213 290.5)
XYZxyz(24.4029, 15.1302, 74.2928)
Luminance0.1513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784FE3 #BAE34F
analogous
#4F70E3 #784FE3 #C24FE3
triadic
#784FE3 #E3784F #4FE378
tetradic
#784FE3 #E34F70 #BAE34F #4FE3C2
square
#784FE3 #E34F70 #BAE34F #4FE3C2
split-complementary
#784FE3 #E3C24F #70E34F
monochromatic
#3E199E #5322D3 #784FE3 #A184EB #C9B9F4

Accessibility & contrast

On white

5.22
#784FE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#784FE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784FE3
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784FE3#FFFFFF#000000##FFFFFF
##784FE31.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE8
Deuteranopia (green-blind)
#0069E0
Tritanopia (blue-blind)
#567392
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #784fe3;
/* rgb */ color: rgb(120, 79, 227);
/* oklch */ color: oklch(55.5% 0.213 290.5);
Tailwind
colors: {
  custom: {
    50: '#a783ed',
    500: '#784fe3',
    950: '#000000',
  },
}
SCSS
$custom: #784fe3;
$custom-light: #a783ed;
$custom-dark: #000000;
JSON
{
  "hex": "#784fe3",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 227
  },
  "hsl": {
    "h": 256.622,
    "s": 72.549,
    "l": 60
  },
  "oklch": {
    "l": 0.55505,
    "c": 0.21252,
    "h": 290.5
  },
  "luminance": 0.15131
}

Semantic roles & 50–950 ramp

primary
#784FE3
secondary
#D4E3AA
accent
#EF39BD
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #784FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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