#704F87#704F87

#704F87 is a mid, moderate violet. Relative luminance 0.108; OKLCH L 48.6% C 0.095 H 310.4°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#704F87
RGBrgb(112, 79, 135)
HSLhsl(275, 26%, 42%)
HSVhsv(275, 41%, 53%)
CMYKcmyk(17%, 41.5%, 0%, 47.1%)
CIE-LABlab(39.22, 25.11, -26.06)
CIE-LCHlch(39.22, 36.19, 313.93°)
OKLaboklab(48.61% 0.0613 -0.0722)
OKLCHoklch(48.61% 0.095 310.4)
XYZxyz(13.8505, 10.7862, 24.2693)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704F87 #66874F
analogous
#544F87 #704F87 #874F82
triadic
#704F87 #87704F #4F8770
tetradic
#704F87 #87544F #66874F #4F8287
square
#704F87 #87544F #66874F #4F8287
split-complementary
#704F87 #82874F #4F8754
monochromatic
#30223A #503860 #704F87 #8F6BA8 #AC91BF

Accessibility & contrast

On white

6.65
#704F87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #704F87
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704F87#FFFFFF#000000##FFFFFF
##704F871.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445B89
Deuteranopia (green-blind)
#4C5D85
Tritanopia (blue-blind)
#6D5764
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #704f87;
/* rgb */ color: rgb(112, 79, 135);
/* oklch */ color: oklch(48.6% 0.095 310.4);
Tailwind
colors: {
  custom: {
    50: '#9a81aa',
    500: '#704f87',
    950: '#000000',
  },
}
SCSS
$custom: #704f87;
$custom-light: #9a81aa;
$custom-dark: #000000;
JSON
{
  "hex": "#704f87",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 135
  },
  "hsl": {
    "h": 275.357,
    "s": 26.168,
    "l": 41.961
  },
  "oklch": {
    "l": 0.48614,
    "c": 0.09467,
    "h": 310.4
  },
  "luminance": 0.10786
}

Semantic roles & 50–950 ramp

primary
#704F87
secondary
#96AC86
accent
#C3658C
background
#F9F7FA
surface
#F2EEF4
border
#CCC9CE
text
#0E0A10
muted
#7E7C7F

Preview Lab

Preview with #704F87

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

Preview Lab → · Contrast checker → · Palette generator →

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