#784FBD#784FBD

#784FBD is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.7% C 0.166 H 297.6°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#784FBD
RGBrgb(120, 79, 189)
HSLhsl(262, 45%, 53%)
HSVhsv(262, 58%, 74%)
CMYKcmyk(36.5%, 58.2%, 0%, 25.9%)
CIE-LABlab(43.15, 41.06, -51.96)
CIE-LCHlch(43.15, 66.23, 308.32°)
OKLaboklab(52.73% 0.0771 -0.1475)
OKLCHoklch(52.73% 0.166 297.6)
XYZxyz(19.7247, 13.2589, 49.6543)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784FBD #94BD4F
analogous
#4F5DBD #784FBD #AF4FBD
triadic
#784FBD #BD784F #4FBD78
tetradic
#784FBD #BD4F5D #94BD4F #4FBDAF
square
#784FBD #BD4F5D #94BD4F #4FBDAF
split-complementary
#784FBD #BDAF4F #5DBD4F
monochromatic
#40286A #5B3896 #784FBD #9A7CCE #BCA8DE

Accessibility & contrast

On white

5.75
#784FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#784FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784FBD
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784FBD#FFFFFF#000000##FFFFFF
##784FBD1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1366C1
Deuteranopia (green-blind)
#2765BB
Tritanopia (blue-blind)
#68667E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #784fbd;
/* rgb */ color: rgb(120, 79, 189);
/* oklch */ color: oklch(52.7% 0.166 297.6);
Tailwind
colors: {
  custom: {
    50: '#a382d1',
    500: '#784fbd',
    950: '#000000',
  },
}
SCSS
$custom: #784fbd;
$custom-light: #a382d1;
$custom-dark: #000000;
JSON
{
  "hex": "#784fbd",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 189
  },
  "hsl": {
    "h": 262.364,
    "s": 45.455,
    "l": 52.549
  },
  "oklch": {
    "l": 0.52729,
    "c": 0.16639,
    "h": 297.6
  },
  "luminance": 0.13259
}

Semantic roles & 50–950 ramp

primary
#784FBD
secondary
#BACC9C
accent
#D553A5
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #784FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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