#704A8A#704A8A

#704A8A is a mid, moderate violet. Relative luminance 0.102; OKLCH L 47.9% C 0.108 H 310.3°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#704A8A
RGBrgb(112, 74, 138)
HSLhsl(276, 30%, 42%)
HSVhsv(276, 46%, 54%)
CMYKcmyk(18.8%, 46.4%, 0%, 45.9%)
CIE-LABlab(38.16, 28.83, -29.55)
CIE-LCHlch(38.16, 41.28, 314.29°)
OKLaboklab(47.87% 0.0696 -0.0822)
OKLCHoklch(47.87% 0.108 310.3)
XYZxyz(13.7175, 10.1775, 25.2816)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704A8A #648A4A
analogous
#504A8A #704A8A #8A4A84
triadic
#704A8A #8A704A #4A8A70
tetradic
#704A8A #8A504A #648A4A #4A848A
square
#704A8A #8A504A #648A4A #4A848A
split-complementary
#704A8A #848A4A #4A8A50
monochromatic
#2F1F3A #503562 #704A8A #8F65AC #AC8DC2

Accessibility & contrast

On white

6.92
#704A8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#704A8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704A8A
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704A8A#FFFFFF#000000##FFFFFF
##704A8A1.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C588C
Deuteranopia (green-blind)
#465B88
Tritanopia (blue-blind)
#6D5463
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #704a8a;
/* rgb */ color: rgb(112, 74, 138);
/* oklch */ color: oklch(47.9% 0.108 310.3);
Tailwind
colors: {
  custom: {
    50: '#9a7dac',
    500: '#704a8a',
    950: '#000000',
  },
}
SCSS
$custom: #704a8a;
$custom-light: #9a7dac;
$custom-dark: #000000;
JSON
{
  "hex": "#704a8a",
  "rgb": {
    "r": 112,
    "g": 74,
    "b": 138
  },
  "hsl": {
    "h": 275.625,
    "s": 30.189,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47868,
    "c": 0.10772,
    "h": 310.3
  },
  "luminance": 0.10177
}

Semantic roles & 50–950 ramp

primary
#704A8A
secondary
#94AE82
accent
#C6618A
background
#F9F7FA
surface
#F2EEF4
border
#CCC9CE
text
#0E0A10
muted
#7E7C7F

Preview Lab

Preview with #704A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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