#784199#784199

#784199 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.2% C 0.145 H 311.0°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#784199
RGBrgb(120, 65, 153)
HSLhsl(278, 40%, 43%)
HSVhsv(278, 58%, 60%)
CMYKcmyk(21.6%, 57.5%, 0%, 40%)
CIE-LABlab(37.97, 39.84, -38.89)
CIE-LCHlch(37.97, 55.67, 315.70°)
OKLaboklab(48.22% 0.0948 -0.1091)
OKLCHoklch(48.22% 0.145 311)
XYZxyz(15.3847, 10.0739, 31.2648)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784199 #629941
analogous
#4C4199 #784199 #99418E
triadic
#784199 #997841 #419978
tetradic
#784199 #994C41 #629941 #418E99
square
#784199 #994C41 #629941 #418E99
split-complementary
#784199 #8E9941 #41994C
monochromatic
#351D43 #562F6E #784199 #975DBA #B388CC

Accessibility & contrast

On white

6.97
#784199 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#784199 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784199
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784199#FFFFFF#000000##FFFFFF
##7841991.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26579C
Deuteranopia (green-blind)
#3A5A97
Tritanopia (blue-blind)
#745166
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #784199;
/* rgb */ color: rgb(120, 65, 153);
/* oklch */ color: oklch(48.2% 0.145 311.0);
Tailwind
colors: {
  custom: {
    50: '#a178b7',
    500: '#784199',
    950: '#000000',
  },
}
SCSS
$custom: #784199;
$custom-light: #a178b7;
$custom-dark: #000000;
JSON
{
  "hex": "#784199",
  "rgb": {
    "r": 120,
    "g": 65,
    "b": 153
  },
  "hsl": {
    "h": 277.5,
    "s": 40.367,
    "l": 42.745
  },
  "oklch": {
    "l": 0.48217,
    "c": 0.14453,
    "h": 311
  },
  "luminance": 0.10074
}

Semantic roles & 50–950 ramp

primary
#784199
secondary
#94B77F
accent
#D05885
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #784199

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

Preview Lab → · Contrast checker → · Palette generator →

#784199 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva