#784FCF#784FCF

#784FCF is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.0% C 0.189 H 293.9°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#784FCF
RGBrgb(120, 79, 207)
HSLhsl(259, 57%, 56%)
HSVhsv(259, 62%, 81%)
CMYKcmyk(42%, 61.8%, 0%, 18.8%)
CIE-LABlab(44.36, 45.89, -60.43)
CIE-LCHlch(44.36, 75.88, 307.21°)
OKLaboklab(54% 0.0764 -0.1724)
OKLCHoklch(54% 0.189 293.9)
XYZxyz(21.8012, 14.0895, 60.5903)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784FCF #A6CF4F
analogous
#4F66CF #784FCF #B84FCF
triadic
#784FCF #CF784F #4FCF78
tetradic
#784FCF #CF4F66 #A6CF4F #4FCFB8
square
#784FCF #CF4F66 #A6CF4F #4FCFB8
split-complementary
#784FCF #CFB84F #66CF4F
monochromatic
#412381 #5930B1 #784FCF #9D7FDC #C2AFE9

Accessibility & contrast

On white

5.50
#784FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#784FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784FCF
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784FCF#FFFFFF#000000##FFFFFF
##784FCF1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#0067CC
Tritanopia (blue-blind)
#616C88
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #784fcf;
/* rgb */ color: rgb(120, 79, 207);
/* oklch */ color: oklch(54.0% 0.189 293.9);
Tailwind
colors: {
  custom: {
    50: '#a582de',
    500: '#784fcf',
    950: '#000000',
  },
}
SCSS
$custom: #784fcf;
$custom-light: #a582de;
$custom-dark: #000000;
JSON
{
  "hex": "#784fcf",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 207
  },
  "hsl": {
    "h": 259.219,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.53998,
    "c": 0.18854,
    "h": 293.9
  },
  "luminance": 0.1409
}

Semantic roles & 50–950 ramp

primary
#784FCF
secondary
#C6D7A2
accent
#E047AF
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #784FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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