#784FBA#784FBA

#784FBA is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.5% C 0.163 H 298.3°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#784FBA
RGBrgb(120, 79, 186)
HSLhsl(263, 44%, 52%)
HSVhsv(263, 58%, 73%)
CMYKcmyk(35.5%, 57.5%, 0%, 27.1%)
CIE-LABlab(42.96, 40.27, -50.52)
CIE-LCHlch(42.96, 64.60, 308.56°)
OKLaboklab(52.53% 0.0771 -0.1432)
OKLCHoklch(52.53% 0.163 298.3)
XYZxyz(19.4024, 13.1300, 47.9570)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784FBA #91BA4F
analogous
#4F5CBA #784FBA #AE4FBA
triadic
#784FBA #BA784F #4FBA78
tetradic
#784FBA #BA4F5C #91BA4F #4FBAAE
square
#784FBA #BA4F5C #91BA4F #4FBAAE
split-complementary
#784FBA #BAAE4F #5CBA4F
monochromatic
#402866 #5C3992 #784FBA #9A7BCB #BBA7DC

Accessibility & contrast

On white

5.79
#784FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #784FBA
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784FBA#FFFFFF#000000##FFFFFF
##784FBA1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A66BE
Deuteranopia (green-blind)
#2B64B8
Tritanopia (blue-blind)
#69657D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #784fba;
/* rgb */ color: rgb(120, 79, 186);
/* oklch */ color: oklch(52.5% 0.163 298.3);
Tailwind
colors: {
  custom: {
    50: '#a382cf',
    500: '#784fba',
    950: '#000000',
  },
}
SCSS
$custom: #784fba;
$custom-light: #a382cf;
$custom-dark: #000000;
JSON
{
  "hex": "#784fba",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 186
  },
  "hsl": {
    "h": 262.991,
    "s": 43.673,
    "l": 51.961
  },
  "oklch": {
    "l": 0.52526,
    "c": 0.16265,
    "h": 298.3
  },
  "luminance": 0.1313
}

Semantic roles & 50–950 ramp

primary
#784FBA
secondary
#B8CA9B
accent
#D354A3
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #784FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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