#784BE3#784BE3

#784BE3 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 54.9% C 0.217 H 291.1°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#784BE3
RGBrgb(120, 75, 227)
HSLhsl(258, 73%, 59%)
HSVhsv(258, 67%, 89%)
CMYKcmyk(47.1%, 67%, 0%, 11%)
CIE-LABlab(45.04, 53.46, -70.76)
CIE-LCHlch(45.04, 88.69, 307.07°)
OKLaboklab(54.95% 0.0783 -0.2027)
OKLCHoklch(54.95% 0.217 291.1)
XYZxyz(24.1230, 14.5704, 74.1995)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784BE3 #B6E34B
analogous
#4B6AE3 #784BE3 #C44BE3
triadic
#784BE3 #E3784B #4BE378
tetradic
#784BE3 #E34B6A #B6E34B #4BE3C4
square
#784BE3 #E34B6A #B6E34B #4BE3C4
split-complementary
#784BE3 #E3C44B #6AE34B
monochromatic
#3F189B #5520D0 #784BE3 #A080EB #C7B5F3

Accessibility & contrast

On white

5.37
#784BE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#784BE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784BE3
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784BE3#FFFFFF#000000##FFFFFF
##784BE31.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE8
Deuteranopia (green-blind)
#0067E0
Tritanopia (blue-blind)
#567191
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #784be3;
/* rgb */ color: rgb(120, 75, 227);
/* oklch */ color: oklch(54.9% 0.217 291.1);
Tailwind
colors: {
  custom: {
    50: '#a780ed',
    500: '#784be3',
    950: '#000000',
  },
}
SCSS
$custom: #784be3;
$custom-light: #a780ed;
$custom-dark: #000000;
JSON
{
  "hex": "#784be3",
  "rgb": {
    "r": 120,
    "g": 75,
    "b": 227
  },
  "hsl": {
    "h": 257.763,
    "s": 73.077,
    "l": 59.216
  },
  "oklch": {
    "l": 0.5495,
    "c": 0.21734,
    "h": 291.1
  },
  "luminance": 0.14571
}

Semantic roles & 50–950 ramp

primary
#784BE3
secondary
#D1E3A7
accent
#F038B9
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #784BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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