#784FBC#784FBC

#784FBC is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.7% C 0.165 H 297.8°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#784FBC
RGBrgb(120, 79, 188)
HSLhsl(263, 45%, 52%)
HSVhsv(263, 58%, 74%)
CMYKcmyk(36.2%, 58%, 0%, 26.3%)
CIE-LABlab(43.09, 40.80, -51.48)
CIE-LCHlch(43.09, 65.69, 308.40°)
OKLaboklab(52.66% 0.0771 -0.1461)
OKLCHoklch(52.66% 0.165 297.8)
XYZxyz(19.6165, 13.2156, 49.0846)
Luminance0.1322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784FBC #93BC4F
analogous
#4F5CBC #784FBC #AF4FBC
triadic
#784FBC #BC784F #4FBC78
tetradic
#784FBC #BC4F5C #93BC4F #4FBCAF
square
#784FBC #BC4F5C #93BC4F #4FBCAF
split-complementary
#784FBC #BCAF4F #5CBC4F
monochromatic
#402869 #5B3995 #784FBC #9A7BCD #BCA8DE

Accessibility & contrast

On white

5.76
#784FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#784FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784FBC
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784FBC#FFFFFF#000000##FFFFFF
##784FBC1.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1666C0
Deuteranopia (green-blind)
#2865BA
Tritanopia (blue-blind)
#69667E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #784fbc;
/* rgb */ color: rgb(120, 79, 188);
/* oklch */ color: oklch(52.7% 0.165 297.8);
Tailwind
colors: {
  custom: {
    50: '#a382d1',
    500: '#784fbc',
    950: '#000000',
  },
}
SCSS
$custom: #784fbc;
$custom-light: #a382d1;
$custom-dark: #000000;
JSON
{
  "hex": "#784fbc",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 188
  },
  "hsl": {
    "h": 262.569,
    "s": 44.856,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52661,
    "c": 0.16515,
    "h": 297.8
  },
  "luminance": 0.13216
}

Semantic roles & 50–950 ramp

primary
#784FBC
secondary
#B9CB9C
accent
#D553A4
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #784FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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