#784BC2#784BC2

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

Color values

HEX#784BC2
RGBrgb(120, 75, 194)
HSLhsl(263, 49%, 53%)
HSVhsv(263, 61%, 76%)
CMYKcmyk(38.1%, 61.3%, 0%, 23.9%)
CIE-LABlab(42.64, 44.61, -55.69)
CIE-LCHlch(42.64, 71.36, 308.70°)
OKLaboklab(52.46% 0.0817 -0.1584)
OKLCHoklch(52.46% 0.178 297.3)
XYZxyz(19.9969, 12.9199, 52.4687)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784BC2 #95C24B
analogous
#4B59C2 #784BC2 #B44BC2
triadic
#784BC2 #C2784B #4BC278
tetradic
#784BC2 #C24B59 #95C24B #4BC2B4
square
#784BC2 #C24B59 #95C24B #4BC2B4
split-complementary
#784BC2 #C2B44B #59C24B
monochromatic
#40256D #5B359B #784BC2 #9A79D1 #BDA6E1

Accessibility & contrast

On white

5.86
#784BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#784BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784BC2
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784BC2#FFFFFF#000000##FFFFFF
##784BC21.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#1363BF
Tritanopia (blue-blind)
#66657F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #784bc2;
/* rgb */ color: rgb(120, 75, 194);
/* oklch */ color: oklch(52.5% 0.178 297.3);
Tailwind
colors: {
  custom: {
    50: '#a47fd5',
    500: '#784bc2',
    950: '#000000',
  },
}
SCSS
$custom: #784bc2;
$custom-light: #a47fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#784bc2",
  "rgb": {
    "r": 120,
    "g": 75,
    "b": 194
  },
  "hsl": {
    "h": 262.689,
    "s": 49.378,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52463,
    "c": 0.17827,
    "h": 297.3
  },
  "luminance": 0.1292
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #784BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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