#705271#705271

#705271 is a mid, moderate purple. Relative luminance 0.107; OKLCH L 48.2% C 0.061 H 325.4°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#705271
RGBrgb(112, 82, 113)
HSLhsl(298, 16%, 38%)
HSVhsv(298, 27%, 44%)
CMYKcmyk(0.9%, 27.4%, 0%, 55.7%)
CIE-LABlab(39.02, 18.32, -12.85)
CIE-LCHlch(39.02, 22.38, 324.94°)
OKLaboklab(48.15% 0.0504 -0.0347)
OKLCHoklch(48.15% 0.061 325.4)
XYZxyz(12.6797, 10.6720, 17.0115)
Luminance0.1067 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#705271 #537152
analogous
#605271 #705271 #715262
triadic
#705271 #717052 #527170
tetradic
#705271 #716052 #537152 #526271
square
#705271 #716052 #537152 #526271
split-complementary
#705271 #627152 #527160
monochromatic
#2A1F2A #4D384E #705271 #936C94 #AD8FAE

Accessibility & contrast

On white

6.70
#705271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#705271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #705271
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##705271#FFFFFF#000000##FFFFFF
##7052711.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505A72
Deuteranopia (green-blind)
#575D70
Tritanopia (blue-blind)
#72555D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #705271;
/* rgb */ color: rgb(112, 82, 113);
/* oklch */ color: oklch(48.2% 0.061 325.4);
Tailwind
colors: {
  custom: {
    50: '#998399',
    500: '#705271',
    950: '#000000',
  },
}
SCSS
$custom: #705271;
$custom-light: #998399;
$custom-dark: #000000;
JSON
{
  "hex": "#705271",
  "rgb": {
    "r": 112,
    "g": 82,
    "b": 113
  },
  "hsl": {
    "h": 298.065,
    "s": 15.897,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48152,
    "c": 0.06115,
    "h": 325.4
  },
  "luminance": 0.10672
}

Semantic roles & 50–950 ramp

primary
#705271
secondary
#849C83
accent
#B96F72
background
#F9F8F9
surface
#F2EFF2
border
#CCCACC
text
#0E0A0E
muted
#7E7C7E

Preview Lab

Preview with #705271

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

Preview Lab → · Contrast checker → · Palette generator →

#705271 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva