#784BCF#784BCF

#784BCF is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.4% C 0.194 H 294.6°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#784BCF
RGBrgb(120, 75, 207)
HSLhsl(260, 58%, 55%)
HSVhsv(260, 64%, 81%)
CMYKcmyk(42%, 63.8%, 0%, 18.8%)
CIE-LABlab(43.55, 48.07, -61.75)
CIE-LCHlch(43.55, 78.25, 307.90°)
OKLaboklab(53.41% 0.0808 -0.1762)
OKLCHoklch(53.41% 0.194 294.6)
XYZxyz(21.5213, 13.5297, 60.4970)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784BCF #A2CF4B
analogous
#4B60CF #784BCF #BA4BCF
triadic
#784BCF #CF784B #4BCF78
tetradic
#784BCF #CF4B60 #A2CF4B #4BCFBA
square
#784BCF #CF4B60 #A2CF4B #4BCFBA
split-complementary
#784BCF #CFBA4B #60CF4B
monochromatic
#41227E #5A2EAE #784BCF #9C7BDC #C0ACE9

Accessibility & contrast

On white

5.67
#784BCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#784BCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784BCF
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784BCF#FFFFFF#000000##FFFFFF
##784BCF1.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#0065CC
Tritanopia (blue-blind)
#616A86
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #784bcf;
/* rgb */ color: rgb(120, 75, 207);
/* oklch */ color: oklch(53.4% 0.194 294.6);
Tailwind
colors: {
  custom: {
    50: '#a580df',
    500: '#784bcf',
    950: '#000000',
  },
}
SCSS
$custom: #784bcf;
$custom-light: #a580df;
$custom-dark: #000000;
JSON
{
  "hex": "#784bcf",
  "rgb": {
    "r": 120,
    "g": 75,
    "b": 207
  },
  "hsl": {
    "h": 260.455,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.5341,
    "c": 0.19386,
    "h": 294.6
  },
  "luminance": 0.1353
}

Semantic roles & 50–950 ramp

primary
#784BCF
secondary
#C4D69F
accent
#E147AC
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #784BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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