#784197#784197

#784197 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.1% C 0.142 H 311.7°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#784197
RGBrgb(120, 65, 151)
HSLhsl(278, 40%, 42%)
HSVhsv(278, 57%, 59%)
CMYKcmyk(20.5%, 57%, 0%, 40.8%)
CIE-LABlab(37.86, 39.38, -37.86)
CIE-LCHlch(37.86, 54.63, 316.12°)
OKLaboklab(48.09% 0.0947 -0.1061)
OKLCHoklch(48.09% 0.142 311.7)
XYZxyz(15.2209, 10.0084, 30.4021)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784197 #609741
analogous
#4D4197 #784197 #97418B
triadic
#784197 #977841 #419778
tetradic
#784197 #974D41 #609741 #418B97
square
#784197 #974D41 #609741 #418B97
split-complementary
#784197 #8B9741 #41974D
monochromatic
#341C41 #562F6C #784197 #985CB9 #B387CB

Accessibility & contrast

On white

7.00
#784197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#784197 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784197
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784197#FFFFFF#000000##FFFFFF
##7841971.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28569A
Deuteranopia (green-blind)
#3B5A95
Tritanopia (blue-blind)
#755065
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #784197;
/* rgb */ color: rgb(120, 65, 151);
/* oklch */ color: oklch(48.1% 0.142 311.7);
Tailwind
colors: {
  custom: {
    50: '#a178b6',
    500: '#784197',
    950: '#000000',
  },
}
SCSS
$custom: #784197;
$custom-light: #a178b6;
$custom-dark: #000000;
JSON
{
  "hex": "#784197",
  "rgb": {
    "r": 120,
    "g": 65,
    "b": 151
  },
  "hsl": {
    "h": 278.372,
    "s": 39.815,
    "l": 42.353
  },
  "oklch": {
    "l": 0.48093,
    "c": 0.14222,
    "h": 311.7
  },
  "luminance": 0.10008
}

Semantic roles & 50–950 ramp

primary
#784197
secondary
#92B67E
accent
#D05883
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #784197

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

Preview Lab → · Contrast checker → · Palette generator →

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