#781ACA#781ACA

#781ACA is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.9% C 0.238 H 301.0°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#781ACA
RGBrgb(120, 26, 202)
HSLhsl(272, 77%, 45%)
HSVhsv(272, 87%, 79%)
CMYKcmyk(40.6%, 87.1%, 0%, 20.8%)
CIE-LABlab(35.98, 67.15, -71.21)
CIE-LCHlch(35.98, 97.87, 313.32°)
OKLaboklab(47.94% 0.1224 -0.2037)
OKLCHoklch(47.94% 0.238 301)
XYZxyz(18.7731, 8.9960, 56.6130)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781ACA #6CCA1A
analogous
#201ACA #781ACA #CA1AC4
triadic
#781ACA #CA781A #1ACA78
tetradic
#781ACA #CA201A #6CCA1A #1AC4CA
square
#781ACA #CA201A #6CCA1A #1AC4CA
split-complementary
#781ACA #C4CA1A #1ACA20
monochromatic
#380C5E #581394 #781ACA #963BE6 #B372ED

Accessibility & contrast

On white

7.50
#781ACA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#781ACA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781ACA
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781ACA#FFFFFF#000000##FFFFFF
##781ACA1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054CE
Deuteranopia (green-blind)
#0053C7
Tritanopia (blue-blind)
#655178
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #781aca;
/* rgb */ color: rgb(120, 26, 202);
/* oklch */ color: oklch(47.9% 0.238 301.0);
Tailwind
colors: {
  custom: {
    50: '#a767db',
    500: '#781aca',
    950: '#000000',
  },
}
SCSS
$custom: #781aca;
$custom-light: #a767db;
$custom-dark: #000000;
JSON
{
  "hex": "#781aca",
  "rgb": {
    "r": 120,
    "g": 26,
    "b": 202
  },
  "hsl": {
    "h": 272.045,
    "s": 77.193,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47943,
    "c": 0.23765,
    "h": 301
  },
  "luminance": 0.08996
}

Semantic roles & 50–950 ramp

primary
#781ACA
secondary
#9CD36D
accent
#F4348D
background
#FBF6FD
surface
#F6EBFB
border
#D0C6D4
text
#110715
muted
#807A83

Preview Lab

Preview with #781ACA

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

Preview Lab → · Contrast checker → · Palette generator →

#781ACA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva