#784FCB#784FCB

#784FCB is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.7% C 0.184 H 294.7°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#784FCB
RGBrgb(120, 79, 203)
HSLhsl(260, 54%, 55%)
HSVhsv(260, 61%, 80%)
CMYKcmyk(40.9%, 61.1%, 0%, 20.4%)
CIE-LABlab(44.08, 44.81, -58.58)
CIE-LCHlch(44.08, 73.75, 307.41°)
OKLaboklab(53.71% 0.0766 -0.1669)
OKLCHoklch(53.71% 0.184 294.7)
XYZxyz(21.3183, 13.8963, 58.0474)
Luminance0.1390 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784FCB #A2CB4F
analogous
#4F64CB #784FCB #B64FCB
triadic
#784FCB #CB784F #4FCB78
tetradic
#784FCB #CB4F64 #A2CB4F #4FCBB6
square
#784FCB #CB4F64 #A2CB4F #4FCBB6
split-complementary
#784FCB #CBB64F #64CB4F
monochromatic
#41247B #5A32AA #784FCB #9C7ED9 #C0ADE7

Accessibility & contrast

On white

5.56
#784FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#784FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784FCB
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784FCB#FFFFFF#000000##FFFFFF
##784FCB1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#0066C8
Tritanopia (blue-blind)
#626B85
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #784fcb;
/* rgb */ color: rgb(120, 79, 203);
/* oklch */ color: oklch(53.7% 0.184 294.7);
Tailwind
colors: {
  custom: {
    50: '#a482dc',
    500: '#784fcb',
    950: '#000000',
  },
}
SCSS
$custom: #784fcb;
$custom-light: #a482dc;
$custom-dark: #000000;
JSON
{
  "hex": "#784fcb",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 203
  },
  "hsl": {
    "h": 259.839,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.53708,
    "c": 0.18367,
    "h": 294.7
  },
  "luminance": 0.13897
}

Semantic roles & 50–950 ramp

primary
#784FCB
secondary
#C4D5A1
accent
#DE4AAD
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #784FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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