#784BE1#784BE1

#784BE1 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.8% C 0.215 H 291.4°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#784BE1
RGBrgb(120, 75, 225)
HSLhsl(258, 71%, 59%)
HSVhsv(258, 67%, 88%)
CMYKcmyk(46.7%, 66.7%, 0%, 11.8%)
CIE-LABlab(44.89, 52.92, -69.87)
CIE-LCHlch(44.89, 87.65, 307.14°)
OKLaboklab(54.79% 0.0786 -0.2001)
OKLCHoklch(54.79% 0.215 291.4)
XYZxyz(23.8486, 14.4606, 72.7542)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784BE1 #B4E14B
analogous
#4B69E1 #784BE1 #C34BE1
triadic
#784BE1 #E1784B #4BE178
tetradic
#784BE1 #E14B69 #B4E14B #4BE1C3
square
#784BE1 #E14B69 #B4E14B #4BE1C3
split-complementary
#784BE1 #E1C34B #69E14B
monochromatic
#3F1998 #5522CD #784BE1 #9F7FEA #C7B4F2

Accessibility & contrast

On white

5.40
#784BE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#784BE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784BE1
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784BE1#FFFFFF#000000##FFFFFF
##784BE11.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE6
Deuteranopia (green-blind)
#0067DE
Tritanopia (blue-blind)
#577090
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #784be1;
/* rgb */ color: rgb(120, 75, 225);
/* oklch */ color: oklch(54.8% 0.215 291.4);
Tailwind
colors: {
  custom: {
    50: '#a780eb',
    500: '#784be1',
    950: '#000000',
  },
}
SCSS
$custom: #784be1;
$custom-light: #a780eb;
$custom-dark: #000000;
JSON
{
  "hex": "#784be1",
  "rgb": {
    "r": 120,
    "g": 75,
    "b": 225
  },
  "hsl": {
    "h": 258,
    "s": 71.429,
    "l": 58.824
  },
  "oklch": {
    "l": 0.54792,
    "c": 0.21502,
    "h": 291.4
  },
  "luminance": 0.14461
}

Semantic roles & 50–950 ramp

primary
#784BE1
secondary
#D0E1A6
accent
#EE3AB8
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #784BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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