#784FBF#784FBF

#784FBF is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.9% C 0.169 H 297.1°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#784FBF
RGBrgb(120, 79, 191)
HSLhsl(262, 47%, 53%)
HSVhsv(262, 59%, 75%)
CMYKcmyk(37.2%, 58.6%, 0%, 25.1%)
CIE-LABlab(43.28, 41.59, -52.92)
CIE-LCHlch(43.28, 67.31, 308.17°)
OKLaboklab(52.86% 0.077 -0.1503)
OKLCHoklch(52.86% 0.169 297.1)
XYZxyz(19.9433, 13.3463, 50.8055)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784FBF #96BF4F
analogous
#4F5EBF #784FBF #B04FBF
triadic
#784FBF #BF784F #4FBF78
tetradic
#784FBF #BF4F5E #96BF4F #4FBFB0
square
#784FBF #BF4F5E #96BF4F #4FBFB0
split-complementary
#784FBF #BFB04F #5EBF4F
monochromatic
#41276C #5B3899 #784FBF #9A7CCF #BDA9E0

Accessibility & contrast

On white

5.72
#784FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#784FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784FBF
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784FBF#FFFFFF#000000##FFFFFF
##784FBF1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D67C3
Deuteranopia (green-blind)
#2465BD
Tritanopia (blue-blind)
#67677F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #784fbf;
/* rgb */ color: rgb(120, 79, 191);
/* oklch */ color: oklch(52.9% 0.169 297.1);
Tailwind
colors: {
  custom: {
    50: '#a382d3',
    500: '#784fbf',
    950: '#000000',
  },
}
SCSS
$custom: #784fbf;
$custom-light: #a382d3;
$custom-dark: #000000;
JSON
{
  "hex": "#784fbf",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 191
  },
  "hsl": {
    "h": 261.964,
    "s": 46.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52865,
    "c": 0.16888,
    "h": 297.1
  },
  "luminance": 0.13347
}

Semantic roles & 50–950 ramp

primary
#784FBF
secondary
#BBCD9D
accent
#D651A6
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #784FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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