#784BCD#784BCD

#784BCD is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.3% C 0.191 H 295.0°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#784BCD
RGBrgb(120, 75, 205)
HSLhsl(261, 57%, 55%)
HSVhsv(261, 63%, 80%)
CMYKcmyk(41.5%, 63.4%, 0%, 19.6%)
CIE-LABlab(43.41, 47.53, -60.83)
CIE-LCHlch(43.41, 77.19, 308.01°)
OKLaboklab(53.26% 0.0809 -0.1735)
OKLCHoklch(53.26% 0.191 295)
XYZxyz(21.2783, 13.4325, 59.2174)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784BCD #A0CD4B
analogous
#4B5FCD #784BCD #B94BCD
triadic
#784BCD #CD784B #4BCD78
tetradic
#784BCD #CD4B5F #A0CD4B #4BCDB9
square
#784BCD #CD4B5F #A0CD4B #4BCDB9
split-complementary
#784BCD #CDB94B #5FCD4B
monochromatic
#41227B #5A30AB #784BCD #9C7BDA #C0ABE8

Accessibility & contrast

On white

5.70
#784BCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#784BCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784BCD
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784BCD#FFFFFF#000000##FFFFFF
##784BCD1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#0065CA
Tritanopia (blue-blind)
#626985
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #784bcd;
/* rgb */ color: rgb(120, 75, 205);
/* oklch */ color: oklch(53.3% 0.191 295.0);
Tailwind
colors: {
  custom: {
    50: '#a580dd',
    500: '#784bcd',
    950: '#000000',
  },
}
SCSS
$custom: #784bcd;
$custom-light: #a580dd;
$custom-dark: #000000;
JSON
{
  "hex": "#784bcd",
  "rgb": {
    "r": 120,
    "g": 75,
    "b": 205
  },
  "hsl": {
    "h": 260.769,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.53261,
    "c": 0.19148,
    "h": 295
  },
  "luminance": 0.13433
}

Semantic roles & 50–950 ramp

primary
#784BCD
secondary
#C2D59F
accent
#E048AB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #784BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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