#784BE2#784BE2

#784BE2 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.9% C 0.216 H 291.3°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#784BE2
RGBrgb(120, 75, 226)
HSLhsl(258, 72%, 59%)
HSVhsv(258, 67%, 89%)
CMYKcmyk(46.9%, 66.8%, 0%, 11.4%)
CIE-LABlab(44.96, 53.19, -70.32)
CIE-LCHlch(44.96, 88.17, 307.11°)
OKLaboklab(54.87% 0.0785 -0.2014)
OKLCHoklch(54.87% 0.216 291.3)
XYZxyz(23.9854, 14.5153, 73.4747)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784BE2 #B5E24B
analogous
#4B6AE2 #784BE2 #C44BE2
triadic
#784BE2 #E2784B #4BE278
tetradic
#784BE2 #E24B6A #B5E24B #4BE2C4
square
#784BE2 #E24B6A #B5E24B #4BE2C4
split-complementary
#784BE2 #E2C44B #6AE24B
monochromatic
#3F199A #5521CF #784BE2 #A080EA #C7B4F3

Accessibility & contrast

On white

5.38
#784BE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#784BE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784BE2
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784BE2#FFFFFF#000000##FFFFFF
##784BE21.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #784be2;
/* rgb */ color: rgb(120, 75, 226);
/* oklch */ color: oklch(54.9% 0.216 291.3);
Tailwind
colors: {
  custom: {
    50: '#a780ec',
    500: '#784be2',
    950: '#000000',
  },
}
SCSS
$custom: #784be2;
$custom-light: #a780ec;
$custom-dark: #000000;
JSON
{
  "hex": "#784be2",
  "rgb": {
    "r": 120,
    "g": 75,
    "b": 226
  },
  "hsl": {
    "h": 257.881,
    "s": 72.249,
    "l": 59.02
  },
  "oklch": {
    "l": 0.54871,
    "c": 0.21618,
    "h": 291.3
  },
  "luminance": 0.14516
}

Semantic roles & 50–950 ramp

primary
#784BE2
secondary
#D0E2A7
accent
#EF39B9
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #784BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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