#784FC8#784FC8

#784FC8 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.5% C 0.180 H 295.2°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#784FC8
RGBrgb(120, 79, 200)
HSLhsl(260, 52%, 55%)
HSVhsv(260, 61%, 78%)
CMYKcmyk(40%, 60.5%, 0%, 21.6%)
CIE-LABlab(43.88, 44.00, -57.17)
CIE-LCHlch(43.88, 72.15, 307.58°)
OKLaboklab(53.49% 0.0768 -0.1628)
OKLCHoklch(53.49% 0.18 295.2)
XYZxyz(20.9643, 13.7547, 56.1828)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784FC8 #9FC84F
analogous
#4F62C8 #784FC8 #B54FC8
triadic
#784FC8 #C8784F #4FC878
tetradic
#784FC8 #C84F62 #9FC84F #4FC8B5
square
#784FC8 #C84F62 #9FC84F #4FC8B5
split-complementary
#784FC8 #C8B54F #62C84F
monochromatic
#412577 #5B34A6 #784FC8 #9C7ED7 #C0ACE5

Accessibility & contrast

On white

5.60
#784FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#784FC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784FC8
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784FC8#FFFFFF#000000##FFFFFF
##784FC81.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#0F66C5
Tritanopia (blue-blind)
#646A84
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #784fc8;
/* rgb */ color: rgb(120, 79, 200);
/* oklch */ color: oklch(53.5% 0.180 295.2);
Tailwind
colors: {
  custom: {
    50: '#a482d9',
    500: '#784fc8',
    950: '#000000',
  },
}
SCSS
$custom: #784fc8;
$custom-light: #a482d9;
$custom-dark: #000000;
JSON
{
  "hex": "#784fc8",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 200
  },
  "hsl": {
    "h": 260.331,
    "s": 52.381,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53494,
    "c": 0.17999,
    "h": 295.2
  },
  "luminance": 0.13755
}

Semantic roles & 50–950 ramp

primary
#784FC8
secondary
#C2D3A0
accent
#DC4CAB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #784FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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