#784695#784695

#784695 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 48.8% C 0.132 H 311.7°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#784695
RGBrgb(120, 70, 149)
HSLhsl(278, 36%, 43%)
HSVhsv(278, 53%, 58%)
CMYKcmyk(19.5%, 53%, 0%, 41.6%)
CIE-LABlab(38.80, 36.13, -35.16)
CIE-LCHlch(38.80, 50.41, 315.79°)
OKLaboklab(48.75% 0.0875 -0.0982)
OKLCHoklch(48.75% 0.132 311.7)
XYZxyz(15.3597, 10.5436, 29.6539)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784695 #639546
analogous
#514695 #784695 #95468A
triadic
#784695 #957846 #469578
tetradic
#784695 #955146 #639546 #468A95
square
#784695 #955146 #639546 #468A95
split-complementary
#784695 #8A9546 #469551
monochromatic
#351F42 #56326B #784695 #9763B6 #B38CC9

Accessibility & contrast

On white

6.76
#784695 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#784695 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784695
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784695#FFFFFF#000000##FFFFFF
##7846951.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325998
Deuteranopia (green-blind)
#415C93
Tritanopia (blue-blind)
#755367
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #784695;
/* rgb */ color: rgb(120, 70, 149);
/* oklch */ color: oklch(48.8% 0.132 311.7);
Tailwind
colors: {
  custom: {
    50: '#a17bb4',
    500: '#784695',
    950: '#000000',
  },
}
SCSS
$custom: #784695;
$custom-light: #a17bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#784695",
  "rgb": {
    "r": 120,
    "g": 70,
    "b": 149
  },
  "hsl": {
    "h": 277.975,
    "s": 36.073,
    "l": 42.941
  },
  "oklch": {
    "l": 0.48751,
    "c": 0.13154,
    "h": 311.7
  },
  "luminance": 0.10543
}

Semantic roles & 50–950 ramp

primary
#784695
secondary
#95B582
accent
#CC5C85
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #784695

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

Preview Lab → · Contrast checker → · Palette generator →

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