#704C8A#704C8A

#704C8A is a mid, moderate violet. Relative luminance 0.104; OKLCH L 48.2% C 0.104 H 309.7°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#704C8A
RGBrgb(112, 76, 138)
HSLhsl(275, 29%, 42%)
HSVhsv(275, 45%, 54%)
CMYKcmyk(18.8%, 44.9%, 0%, 45.9%)
CIE-LABlab(38.64, 27.63, -28.80)
CIE-LCHlch(38.64, 39.91, 313.81°)
OKLaboklab(48.23% 0.0666 -0.08)
OKLCHoklch(48.23% 0.104 309.7)
XYZxyz(13.8531, 10.4488, 25.3269)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704C8A #668A4C
analogous
#514C8A #704C8A #8A4C85
triadic
#704C8A #8A704C #4C8A70
tetradic
#704C8A #8A514C #668A4C #4C858A
square
#704C8A #8A514C #668A4C #4C858A
split-complementary
#704C8A #858A4C #4C8A51
monochromatic
#30213B #503663 #704C8A #8F68AC #AC8FC1

Accessibility & contrast

On white

6.80
#704C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#704C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704C8A
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704C8A#FFFFFF#000000##FFFFFF
##704C8A1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E598C
Deuteranopia (green-blind)
#475C88
Tritanopia (blue-blind)
#6D5664
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #704c8a;
/* rgb */ color: rgb(112, 76, 138);
/* oklch */ color: oklch(48.2% 0.104 309.7);
Tailwind
colors: {
  custom: {
    50: '#9a7fac',
    500: '#704c8a',
    950: '#000000',
  },
}
SCSS
$custom: #704c8a;
$custom-light: #9a7fac;
$custom-dark: #000000;
JSON
{
  "hex": "#704c8a",
  "rgb": {
    "r": 112,
    "g": 76,
    "b": 138
  },
  "hsl": {
    "h": 274.839,
    "s": 28.972,
    "l": 41.961
  },
  "oklch": {
    "l": 0.48225,
    "c": 0.10409,
    "h": 309.7
  },
  "luminance": 0.10449
}

Semantic roles & 50–950 ramp

primary
#704C8A
secondary
#96AE84
accent
#C5638C
background
#F9F7FA
surface
#F2EEF4
border
#CCC9CE
text
#0E0A10
muted
#7E7C7F

Preview Lab

Preview with #704C8A

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

Preview Lab → · Contrast checker → · Palette generator →

#704C8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva