#784ABD#784ABD

#784ABD is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.0% C 0.174 H 298.6°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#784ABD
RGBrgb(120, 74, 189)
HSLhsl(264, 47%, 52%)
HSVhsv(264, 61%, 74%)
CMYKcmyk(36.5%, 60.8%, 0%, 25.9%)
CIE-LABlab(42.10, 43.85, -53.65)
CIE-LCHlch(42.10, 69.29, 309.26°)
OKLaboklab(51.96% 0.0831 -0.1524)
OKLCHoklch(51.96% 0.174 298.6)
XYZxyz(19.3775, 12.5645, 49.5385)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784ABD #8FBD4A
analogous
#4A56BD #784ABD #B24ABD
triadic
#784ABD #BD784A #4ABD78
tetradic
#784ABD #BD4A56 #8FBD4A #4ABDB2
square
#784ABD #BD4A56 #8FBD4A #4ABDB2
split-complementary
#784ABD #BDB24A #56BD4A
monochromatic
#402667 #5C3694 #784ABD #9977CD #BBA4DE

Accessibility & contrast

On white

5.98
#784ABD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#784ABD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784ABD
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784ABD#FFFFFF#000000##FFFFFF
##784ABD1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#1C62BA
Tritanopia (blue-blind)
#68637C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #784abd;
/* rgb */ color: rgb(120, 74, 189);
/* oklch */ color: oklch(52.0% 0.174 298.6);
Tailwind
colors: {
  custom: {
    50: '#a37fd2',
    500: '#784abd',
    950: '#000000',
  },
}
SCSS
$custom: #784abd;
$custom-light: #a37fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#784abd",
  "rgb": {
    "r": 120,
    "g": 74,
    "b": 189
  },
  "hsl": {
    "h": 264,
    "s": 46.559,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51961,
    "c": 0.17364,
    "h": 298.6
  },
  "luminance": 0.12565
}

Semantic roles & 50–950 ramp

primary
#784ABD
secondary
#B6CB98
accent
#D652A1
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #784ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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