#784195#784195

#784195 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.0% C 0.140 H 312.5°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#784195
RGBrgb(120, 65, 149)
HSLhsl(279, 39%, 42%)
HSVhsv(279, 56%, 58%)
CMYKcmyk(19.5%, 56.4%, 0%, 41.6%)
CIE-LABlab(37.74, 38.92, -36.84)
CIE-LCHlch(37.74, 53.58, 316.57°)
OKLaboklab(47.97% 0.0946 -0.1031)
OKLCHoklch(47.97% 0.14 312.5)
XYZxyz(15.0599, 9.9440, 29.5540)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784195 #5E9541
analogous
#4E4195 #784195 #954188
triadic
#784195 #957841 #419578
tetradic
#784195 #954E41 #5E9541 #418895
square
#784195 #954E41 #5E9541 #418895
split-complementary
#784195 #889541 #41954E
monochromatic
#331C40 #562E6A #784195 #985CB8 #B386CA

Accessibility & contrast

On white

7.03
#784195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#784195 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #784195
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784195#FFFFFF#000000##FFFFFF
##7841951.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5698
Deuteranopia (green-blind)
#3D5A93
Tritanopia (blue-blind)
#754F64
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #784195;
/* rgb */ color: rgb(120, 65, 149);
/* oklch */ color: oklch(48.0% 0.140 312.5);
Tailwind
colors: {
  custom: {
    50: '#a178b4',
    500: '#784195',
    950: '#000000',
  },
}
SCSS
$custom: #784195;
$custom-light: #a178b4;
$custom-dark: #000000;
JSON
{
  "hex": "#784195",
  "rgb": {
    "r": 120,
    "g": 65,
    "b": 149
  },
  "hsl": {
    "h": 279.286,
    "s": 39.252,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47971,
    "c": 0.13991,
    "h": 312.5
  },
  "luminance": 0.09944
}

Semantic roles & 50–950 ramp

primary
#784195
secondary
#90B57D
accent
#CF5982
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #784195

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

Preview Lab → · Contrast checker → · Palette generator →

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