#704F71#704F71

#704F71 is a mid, moderate purple. Relative luminance 0.102; OKLCH L 47.6% C 0.067 H 325.6°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#704F71
RGBrgb(112, 79, 113)
HSLhsl(298, 18%, 38%)
HSVhsv(298, 30%, 44%)
CMYKcmyk(0.9%, 30.1%, 0%, 55.7%)
CIE-LABlab(38.25, 20.15, -14.03)
CIE-LCHlch(38.25, 24.55, 325.15°)
OKLaboklab(47.56% 0.0554 -0.038)
OKLCHoklch(47.56% 0.067 325.6)
XYZxyz(12.4584, 10.2294, 16.9378)
Luminance0.1023 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704F71 #50714F
analogous
#5F4F71 #704F71 #714F61
triadic
#704F71 #71704F #4F7170
tetradic
#704F71 #715F4F #50714F #4F6171
square
#704F71 #715F4F #50714F #4F6171
split-complementary
#704F71 #61714F #4F715F
monochromatic
#291D29 #4C364D #704F71 #946895 #AD8CAF

Accessibility & contrast

On white

6.89
#704F71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#704F71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704F71
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704F71#FFFFFF#000000##FFFFFF
##704F711.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5772
Deuteranopia (green-blind)
#545B70
Tritanopia (blue-blind)
#72525B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #704f71;
/* rgb */ color: rgb(112, 79, 113);
/* oklch */ color: oklch(47.6% 0.067 325.6);
Tailwind
colors: {
  custom: {
    50: '#99809a',
    500: '#704f71',
    950: '#000000',
  },
}
SCSS
$custom: #704f71;
$custom-light: #99809a;
$custom-dark: #000000;
JSON
{
  "hex": "#704f71",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 113
  },
  "hsl": {
    "h": 298.235,
    "s": 17.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47563,
    "c": 0.06717,
    "h": 325.6
  },
  "luminance": 0.10229
}

Semantic roles & 50–950 ramp

primary
#704F71
secondary
#819C80
accent
#BA6D70
background
#F9F7F9
surface
#F2EEF2
border
#CCC9CC
text
#0E0A0E
muted
#7E7C7E

Preview Lab

Preview with #704F71

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

Preview Lab → · Contrast checker → · Palette generator →

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