#784ACE#784ACE

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

Color values

HEX#784ACE
RGBrgb(120, 74, 206)
HSLhsl(261, 57%, 55%)
HSVhsv(261, 64%, 81%)
CMYKcmyk(41.7%, 64.1%, 0%, 19.2%)
CIE-LABlab(43.28, 48.34, -61.61)
CIE-LCHlch(43.28, 78.31, 308.12°)
OKLaboklab(53.19% 0.0819 -0.1758)
OKLCHoklch(53.19% 0.194 295)
XYZxyz(21.3321, 13.3464, 59.8327)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784ACE #A0CE4A
analogous
#4A5ECE #784ACE #BA4ACE
triadic
#784ACE #CE784A #4ACE78
tetradic
#784ACE #CE4A5E #A0CE4A #4ACEBA
square
#784ACE #CE4A5E #A0CE4A #4ACEBA
split-complementary
#784ACE #CEBA4A #5ECE4A
monochromatic
#41227C #5A2FAC #784ACE #9C7ADB #C0AAE8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##784ACE#FFFFFF#000000##FFFFFF
##784ACE1.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)
#0067D2
Deuteranopia (green-blind)
#0064CB
Tritanopia (blue-blind)
#616985
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #784ace;
/* rgb */ color: rgb(120, 74, 206);
/* oklch */ color: oklch(53.2% 0.194 295.0);
Tailwind
colors: {
  custom: {
    50: '#a57fde',
    500: '#784ace',
    950: '#000000',
  },
}
SCSS
$custom: #784ace;
$custom-light: #a57fde;
$custom-dark: #000000;
JSON
{
  "hex": "#784ace",
  "rgb": {
    "r": 120,
    "g": 74,
    "b": 206
  },
  "hsl": {
    "h": 260.909,
    "s": 57.391,
    "l": 54.902
  },
  "oklch": {
    "l": 0.53192,
    "c": 0.19399,
    "h": 295
  },
  "luminance": 0.13347
}

Semantic roles & 50–950 ramp

primary
#784ACE
secondary
#C2D69E
accent
#E147AB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #784ACE

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

Preview Lab → · Contrast checker → · Palette generator →

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