#784BED#784BED

#784BED is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.8% C 0.229 H 289.6°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#784BED
RGBrgb(120, 75, 237)
HSLhsl(257, 82%, 61%)
HSVhsv(257, 68%, 93%)
CMYKcmyk(49.4%, 68.4%, 0%, 7.1%)
CIE-LABlab(45.82, 56.18, -75.13)
CIE-LCHlch(45.82, 93.82, 306.79°)
OKLaboklab(55.75% 0.0768 -0.2156)
OKLCHoklch(55.75% 0.229 289.6)
XYZxyz(25.5435, 15.1386, 81.6805)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784BED #C0ED4B
analogous
#4B6FED #784BED #C94BED
triadic
#784BED #ED784B #4BED78
tetradic
#784BED #ED4B6F #C0ED4B #4BEDC9
square
#784BED #ED4B6F #C0ED4B #4BEDC9
split-complementary
#784BED #EDC94B #6FED4B
monochromatic
#3C11AC #5017E4 #784BED #A283F3 #CBBAF8

Accessibility & contrast

On white

5.21
#784BED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #784BED
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784BED#FFFFFF#000000##FFFFFF
##784BED1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F2
Deuteranopia (green-blind)
#0069EA
Tritanopia (blue-blind)
#4F7496
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #784bed;
/* rgb */ color: rgb(120, 75, 237);
/* oklch */ color: oklch(55.8% 0.229 289.6);
Tailwind
colors: {
  custom: {
    50: '#a981f4',
    500: '#784bed',
    950: '#000000',
  },
}
SCSS
$custom: #784bed;
$custom-light: #a981f4;
$custom-dark: #000000;
JSON
{
  "hex": "#784bed",
  "rgb": {
    "r": 120,
    "g": 75,
    "b": 237
  },
  "hsl": {
    "h": 256.667,
    "s": 81.818,
    "l": 61.176
  },
  "oklch": {
    "l": 0.55754,
    "c": 0.22885,
    "h": 289.6
  },
  "luminance": 0.1514
}

Semantic roles & 50–950 ramp

primary
#784BED
secondary
#D7E8AB
accent
#DE07A3
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110A17
muted
#807C85

Preview Lab

Preview with #784BED

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

Preview Lab → · Contrast checker → · Palette generator →

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