#784BE0#784BE0

#784BE0 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.7% C 0.214 H 291.6°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#784BE0
RGBrgb(120, 75, 224)
HSLhsl(258, 71%, 59%)
HSVhsv(258, 67%, 88%)
CMYKcmyk(46.4%, 66.5%, 0%, 12.2%)
CIE-LABlab(44.81, 52.65, -69.43)
CIE-LCHlch(44.81, 87.13, 307.18°)
OKLaboklab(54.71% 0.0788 -0.1988)
OKLCHoklch(54.71% 0.214 291.6)
XYZxyz(23.7126, 14.4062, 72.0378)
Luminance0.1441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784BE0 #B3E04B
analogous
#4B68E0 #784BE0 #C24BE0
triadic
#784BE0 #E0784B #4BE078
tetradic
#784BE0 #E04B68 #B3E04B #4BE0C2
square
#784BE0 #E04B68 #B3E04B #4BE0C2
split-complementary
#784BE0 #E0C24B #68E04B
monochromatic
#401A97 #5623CB #784BE0 #9F7FE9 #C6B3F2

Accessibility & contrast

On white

5.41
#784BE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#784BE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784BE0
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784BE0#FFFFFF#000000##FFFFFF
##784BE01.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE5
Deuteranopia (green-blind)
#0067DD
Tritanopia (blue-blind)
#58708F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #784be0;
/* rgb */ color: rgb(120, 75, 224);
/* oklch */ color: oklch(54.7% 0.214 291.6);
Tailwind
colors: {
  custom: {
    50: '#a780eb',
    500: '#784be0',
    950: '#000000',
  },
}
SCSS
$custom: #784be0;
$custom-light: #a780eb;
$custom-dark: #000000;
JSON
{
  "hex": "#784be0",
  "rgb": {
    "r": 120,
    "g": 75,
    "b": 224
  },
  "hsl": {
    "h": 258.121,
    "s": 70.616,
    "l": 58.627
  },
  "oklch": {
    "l": 0.54713,
    "c": 0.21386,
    "h": 291.6
  },
  "luminance": 0.14407
}

Semantic roles & 50–950 ramp

primary
#784BE0
secondary
#CFE1A6
accent
#ED3AB7
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #784BE0

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

Preview Lab → · Contrast checker → · Palette generator →

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