#784ACB#784ACB

#784ACB is a mid, vivid violet. Relative luminance 0.132; OKLCH L 53.0% C 0.190 H 295.6°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#784ACB
RGBrgb(120, 74, 203)
HSLhsl(261, 55%, 54%)
HSVhsv(261, 64%, 80%)
CMYKcmyk(40.9%, 63.5%, 0%, 20.4%)
CIE-LABlab(43.07, 47.54, -60.22)
CIE-LCHlch(43.07, 76.73, 308.29°)
OKLaboklab(52.97% 0.0822 -0.1718)
OKLCHoklch(52.97% 0.19 295.6)
XYZxyz(20.9712, 13.2020, 57.9317)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784ACB #9DCB4A
analogous
#4A5DCB #784ACB #B84ACB
triadic
#784ACB #CB784A #4ACB78
tetradic
#784ACB #CB4A5D #9DCB4A #4ACBB8
square
#784ACB #CB4A5D #9DCB4A #4ACBB8
split-complementary
#784ACB #CBB84A #5DCB4A
monochromatic
#412378 #5B30A8 #784ACB #9B7AD9 #BFA9E6

Accessibility & contrast

On white

5.77
#784ACB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #784ACB
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784ACB#FFFFFF#000000##FFFFFF
##784ACB1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#0064C8
Tritanopia (blue-blind)
#636884
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #784acb;
/* rgb */ color: rgb(120, 74, 203);
/* oklch */ color: oklch(53.0% 0.190 295.6);
Tailwind
colors: {
  custom: {
    50: '#a57fdc',
    500: '#784acb',
    950: '#000000',
  },
}
SCSS
$custom: #784acb;
$custom-light: #a57fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#784acb",
  "rgb": {
    "r": 120,
    "g": 74,
    "b": 203
  },
  "hsl": {
    "h": 261.395,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52969,
    "c": 0.19042,
    "h": 295.6
  },
  "luminance": 0.13202
}

Semantic roles & 50–950 ramp

primary
#784ACB
secondary
#C0D49D
accent
#DF49A9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #784ACB

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

Preview Lab → · Contrast checker → · Palette generator →

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