#704C8F#704C8F

#704C8F is a mid, moderate violet. Relative luminance 0.106; OKLCH L 48.5% C 0.111 H 307.5°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#704C8F
RGBrgb(112, 76, 143)
HSLhsl(272, 31%, 43%)
HSVhsv(272, 47%, 56%)
CMYKcmyk(21.7%, 46.9%, 0%, 43.9%)
CIE-LABlab(38.89, 28.85, -31.44)
CIE-LCHlch(38.89, 42.67, 312.54°)
OKLaboklab(48.5% 0.0674 -0.0877)
OKLCHoklch(48.5% 0.111 307.5)
XYZxyz(14.2235, 10.5969, 27.2774)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704C8F #6B8F4C
analogous
#4E4C8F #704C8F #8F4C8C
triadic
#704C8F #8F704C #4C8F70
tetradic
#704C8F #8F4E4C #6B8F4C #4C8C8F
square
#704C8F #8F4E4C #6B8F4C #4C8C8F
split-complementary
#704C8F #8C8F4C #4C8F4E
monochromatic
#31223F #513767 #704C8F #8F69AF #AD91C4

Accessibility & contrast

On white

6.73
#704C8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#704C8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704C8F
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704C8F#FFFFFF#000000##FFFFFF
##704C8F1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5A91
Deuteranopia (green-blind)
#455C8D
Tritanopia (blue-blind)
#6C5766
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #704c8f;
/* rgb */ color: rgb(112, 76, 143);
/* oklch */ color: oklch(48.5% 0.111 307.5);
Tailwind
colors: {
  custom: {
    50: '#9a7fb0',
    500: '#704c8f',
    950: '#000000',
  },
}
SCSS
$custom: #704c8f;
$custom-light: #9a7fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#704c8f",
  "rgb": {
    "r": 112,
    "g": 76,
    "b": 143
  },
  "hsl": {
    "h": 272.239,
    "s": 30.594,
    "l": 42.941
  },
  "oklch": {
    "l": 0.48502,
    "c": 0.11059,
    "h": 307.5
  },
  "luminance": 0.10597
}

Semantic roles & 50–950 ramp

primary
#704C8F
secondary
#9AB186
accent
#C76190
background
#F9F7FA
surface
#F2EEF5
border
#CCC9CF
text
#0E0A10
muted
#7E7C7F

Preview Lab

Preview with #704C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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