#704C8D#704C8D

#704C8D is a mid, moderate violet. Relative luminance 0.105; OKLCH L 48.4% C 0.108 H 308.4°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#704C8D
RGBrgb(112, 76, 141)
HSLhsl(273, 30%, 43%)
HSVhsv(273, 46%, 55%)
CMYKcmyk(20.6%, 46.1%, 0%, 44.7%)
CIE-LABlab(38.79, 28.36, -30.38)
CIE-LCHlch(38.79, 41.56, 313.02°)
OKLaboklab(48.39% 0.0671 -0.0846)
OKLCHoklch(48.39% 0.108 308.4)
XYZxyz(14.0733, 10.5369, 26.4866)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704C8D #698D4C
analogous
#504C8D #704C8D #8D4C89
triadic
#704C8D #8D704C #4C8D70
tetradic
#704C8D #8D504C #698D4C #4C898D
square
#704C8D #8D504C #698D4C #4C898D
split-complementary
#704C8D #898D4C #4C8D50
monochromatic
#31213D #503765 #704C8D #8F68AE #AC90C3

Accessibility & contrast

On white

6.76
#704C8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#704C8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704C8D
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704C8D#FFFFFF#000000##FFFFFF
##704C8D1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5A8F
Deuteranopia (green-blind)
#465C8B
Tritanopia (blue-blind)
#6C5666
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #704c8d;
/* rgb */ color: rgb(112, 76, 141);
/* oklch */ color: oklch(48.4% 0.108 308.4);
Tailwind
colors: {
  custom: {
    50: '#9a7fae',
    500: '#704c8d',
    950: '#000000',
  },
}
SCSS
$custom: #704c8d;
$custom-light: #9a7fae;
$custom-dark: #000000;
JSON
{
  "hex": "#704c8d",
  "rgb": {
    "r": 112,
    "g": 76,
    "b": 141
  },
  "hsl": {
    "h": 273.231,
    "s": 29.954,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4839,
    "c": 0.10799,
    "h": 308.4
  },
  "luminance": 0.10537
}

Semantic roles & 50–950 ramp

primary
#704C8D
secondary
#98AF85
accent
#C6628E
background
#F9F7FA
surface
#F2EEF4
border
#CCC9CE
text
#0E0A10
muted
#7E7C7F

Preview Lab

Preview with #704C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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