#704B99#704B99

#704B99 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 48.9% C 0.125 H 304.1°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#704B99
RGBrgb(112, 75, 153)
HSLhsl(268, 34%, 45%)
HSVhsv(268, 51%, 60%)
CMYKcmyk(26.8%, 51%, 0%, 40%)
CIE-LABlab(39.20, 31.94, -36.99)
CIE-LCHlch(39.20, 48.87, 310.81°)
OKLaboklab(48.91% 0.0702 -0.1038)
OKLCHoklch(48.91% 0.125 304.1)
XYZxyz(14.9467, 10.7769, 31.4235)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704B99 #74994B
analogous
#4B4D99 #704B99 #974B99
triadic
#704B99 #99704B #4B9970
tetradic
#704B99 #994B4D #74994B #4B9997
square
#704B99 #994B4D #74994B #4B9997
split-complementary
#704B99 #99974B #4D994B
monochromatic
#342347 #523770 #704B99 #8F6BB6 #AE94CB

Accessibility & contrast

On white

6.66
#704B99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#704B99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704B99
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704B99#FFFFFF#000000##FFFFFF
##704B991.006.663.166.66
#FFFFFF6.661.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335B9C
Deuteranopia (green-blind)
#3E5C97
Tritanopia (blue-blind)
#69596B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #704b99;
/* rgb */ color: rgb(112, 75, 153);
/* oklch */ color: oklch(48.9% 0.125 304.1);
Tailwind
colors: {
  custom: {
    50: '#9b7eb7',
    500: '#704b99',
    950: '#000000',
  },
}
SCSS
$custom: #704b99;
$custom-light: #9b7eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#704b99",
  "rgb": {
    "r": 112,
    "g": 75,
    "b": 153
  },
  "hsl": {
    "h": 268.462,
    "s": 34.211,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48909,
    "c": 0.12534,
    "h": 304.1
  },
  "luminance": 0.10777
}

Semantic roles & 50–950 ramp

primary
#704B99
secondary
#A1B789
accent
#CA5E97
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0E0A11
muted
#7E7C80

Preview Lab

Preview with #704B99

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

Preview Lab → · Contrast checker → · Palette generator →

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