#704C99#704C99

#704C99 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.1% C 0.124 H 303.8°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#704C99
RGBrgb(112, 76, 153)
HSLhsl(268, 34%, 45%)
HSVhsv(268, 50%, 60%)
CMYKcmyk(26.8%, 50.3%, 0%, 40%)
CIE-LABlab(39.43, 31.35, -36.62)
CIE-LCHlch(39.43, 48.21, 310.56°)
OKLaboklab(49.08% 0.0687 -0.1028)
OKLCHoklch(49.08% 0.124 303.8)
XYZxyz(15.0151, 10.9136, 31.4463)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704C99 #75994C
analogous
#4C4F99 #704C99 #964C99
triadic
#704C99 #99704C #4C9970
tetradic
#704C99 #994C4F #75994C #4C9996
square
#704C99 #994C4F #75994C #4C9996
split-complementary
#704C99 #99964C #4F994C
monochromatic
#342347 #523870 #704C99 #8F6CB6 #AE95CA

Accessibility & contrast

On white

6.60
#704C99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#704C99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704C99
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704C99#FFFFFF#000000##FFFFFF
##704C991.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355C9C
Deuteranopia (green-blind)
#3F5D97
Tritanopia (blue-blind)
#695A6B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #704c99;
/* rgb */ color: rgb(112, 76, 153);
/* oklch */ color: oklch(49.1% 0.124 303.8);
Tailwind
colors: {
  custom: {
    50: '#9b7fb7',
    500: '#704c99',
    950: '#000000',
  },
}
SCSS
$custom: #704c99;
$custom-light: #9b7fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#704c99",
  "rgb": {
    "r": 112,
    "g": 76,
    "b": 153
  },
  "hsl": {
    "h": 268.052,
    "s": 33.624,
    "l": 44.902
  },
  "oklch": {
    "l": 0.49082,
    "c": 0.12365,
    "h": 303.8
  },
  "luminance": 0.10914
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #704C99

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

Preview Lab → · Contrast checker → · Palette generator →

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