#784DC1#784DC1

#784DC1 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.7% C 0.174 H 297.1°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#784DC1
RGBrgb(120, 77, 193)
HSLhsl(262, 48%, 53%)
HSVhsv(262, 60%, 76%)
CMYKcmyk(37.8%, 60.1%, 0%, 24.3%)
CIE-LABlab(42.99, 43.24, -54.55)
CIE-LCHlch(42.99, 69.61, 308.40°)
OKLaboklab(52.7% 0.0794 -0.1551)
OKLCHoklch(52.7% 0.174 297.1)
XYZxyz(20.0228, 13.1508, 51.9252)
Luminance0.1315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784DC1 #96C14D
analogous
#4D5CC1 #784DC1 #B24DC1
triadic
#784DC1 #C1784D #4DC178
tetradic
#784DC1 #C14D5C #96C14D #4DC1B2
square
#784DC1 #C14D5C #96C14D #4DC1B2
split-complementary
#784DC1 #C1B24D #5CC14D
monochromatic
#41266D #5B369B #784DC1 #9A7AD1 #BDA8E1

Accessibility & contrast

On white

5.78
#784DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#784DC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784DC1
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784DC1#FFFFFF#000000##FFFFFF
##784DC11.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C5
Deuteranopia (green-blind)
#1C64BE
Tritanopia (blue-blind)
#676680
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #784dc1;
/* rgb */ color: rgb(120, 77, 193);
/* oklch */ color: oklch(52.7% 0.174 297.1);
Tailwind
colors: {
  custom: {
    50: '#a481d4',
    500: '#784dc1',
    950: '#000000',
  },
}
SCSS
$custom: #784dc1;
$custom-light: #a481d4;
$custom-dark: #000000;
JSON
{
  "hex": "#784dc1",
  "rgb": {
    "r": 120,
    "g": 77,
    "b": 193
  },
  "hsl": {
    "h": 262.241,
    "s": 48.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52695,
    "c": 0.17422,
    "h": 297.1
  },
  "luminance": 0.13151
}

Semantic roles & 50–950 ramp

primary
#784DC1
secondary
#BBCE9C
accent
#D850A5
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #784DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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