#784FCA#784FCA

#784FCA is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.6% C 0.182 H 294.8°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#784FCA
RGBrgb(120, 79, 202)
HSLhsl(260, 54%, 55%)
HSVhsv(260, 61%, 79%)
CMYKcmyk(40.6%, 60.9%, 0%, 20.8%)
CIE-LABlab(44.02, 44.54, -58.11)
CIE-LCHlch(44.02, 73.22, 307.47°)
OKLaboklab(53.64% 0.0767 -0.1655)
OKLCHoklch(53.64% 0.182 294.8)
XYZxyz(21.1996, 13.8488, 57.4218)
Luminance0.1385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784FCA #A1CA4F
analogous
#4F63CA #784FCA #B64FCA
triadic
#784FCA #CA784F #4FCA78
tetradic
#784FCA #CA4F63 #A1CA4F #4FCAB6
square
#784FCA #CA4F63 #A1CA4F #4FCAB6
split-complementary
#784FCA #CAB64F #63CA4F
monochromatic
#41257A #5A33A9 #784FCA #9C7ED8 #C0ADE6

Accessibility & contrast

On white

5.57
#784FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#784FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784FCA
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784FCA#FFFFFF#000000##FFFFFF
##784FCA1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#0566C7
Tritanopia (blue-blind)
#636A85
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #784fca;
/* rgb */ color: rgb(120, 79, 202);
/* oklch */ color: oklch(53.6% 0.182 294.8);
Tailwind
colors: {
  custom: {
    50: '#a482db',
    500: '#784fca',
    950: '#000000',
  },
}
SCSS
$custom: #784fca;
$custom-light: #a482db;
$custom-dark: #000000;
JSON
{
  "hex": "#784fca",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 202
  },
  "hsl": {
    "h": 260,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.53636,
    "c": 0.18244,
    "h": 294.8
  },
  "luminance": 0.13849
}

Semantic roles & 50–950 ramp

primary
#784FCA
secondary
#C3D4A1
accent
#DD4BAC
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #784FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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