#784CC1#784CC1

#784CC1 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.5% C 0.176 H 297.3°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#784CC1
RGBrgb(120, 76, 193)
HSLhsl(263, 49%, 53%)
HSVhsv(263, 61%, 76%)
CMYKcmyk(37.8%, 60.6%, 0%, 24.3%)
CIE-LABlab(42.78, 43.80, -54.89)
CIE-LCHlch(42.78, 70.22, 308.59°)
OKLaboklab(52.54% 0.0806 -0.1561)
OKLCHoklch(52.54% 0.176 297.3)
XYZxyz(19.9534, 13.0119, 51.9020)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784CC1 #95C14C
analogous
#4C5AC1 #784CC1 #B24CC1
triadic
#784CC1 #C1784C #4CC178
tetradic
#784CC1 #C14C5A #95C14C #4CC1B2
square
#784CC1 #C14C5A #95C14C #4CC1B2
split-complementary
#784CC1 #C1B24C #5AC14C
monochromatic
#40266D #5B359A #784CC1 #9A79D1 #BDA7E0

Accessibility & contrast

On white

5.83
#784CC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#784CC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784CC1
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784CC1#FFFFFF#000000##FFFFFF
##784CC11.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C5
Deuteranopia (green-blind)
#1964BE
Tritanopia (blue-blind)
#67657F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #784cc1;
/* rgb */ color: rgb(120, 76, 193);
/* oklch */ color: oklch(52.5% 0.176 297.3);
Tailwind
colors: {
  custom: {
    50: '#a480d4',
    500: '#784cc1',
    950: '#000000',
  },
}
SCSS
$custom: #784cc1;
$custom-light: #a480d4;
$custom-dark: #000000;
JSON
{
  "hex": "#784cc1",
  "rgb": {
    "r": 120,
    "g": 76,
    "b": 193
  },
  "hsl": {
    "h": 262.564,
    "s": 48.548,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52543,
    "c": 0.17565,
    "h": 297.3
  },
  "luminance": 0.13012
}

Semantic roles & 50–950 ramp

primary
#784CC1
secondary
#BBCE9B
accent
#D850A5
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #784CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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